src/ui/report-viewer/services/smart-report.service.ts
Methods |
|
| Public getReport | ||||||||||||||||||||||||||||||
getReport(templateUrl: string, dataUrl: string, record?: any, dataRequestMethod: "get" | "post", dataRequestPayloadFields?: string)
|
||||||||||||||||||||||||||||||
|
Get the report from the server. First get the template and data, then merge them into a single report.
Parameters :
Returns :
Observable<any>
The report |
| Public getReportData | ||||||||||||
getReportData(dataUrl: string, payload?: any)
|
||||||||||||
|
Get the report data from the server
Parameters :
Returns :
Observable<any>
The report data |
| Public getReportTemplate | ||||||||
getReportTemplate(templateUrl: string)
|
||||||||
|
Get the report template from the server
Parameters :
Returns :
Observable<any>
The report template |