src/ui/grid/services/smart-grid-export.service.ts
Methods |
|
| Public Async getExcelExportOptionsAndData | |||||||||
getExcelExportOptionsAndData(gridInstance: SmartGridComponent, onFetchStart?: () => void)
|
|||||||||
|
Opens the Excel export dialog and returns the data and options for the export.
Parameters :
Returns :
Promise<literal type | null>
|
| Public Async getExportData | ||||||
getExportData(gridInstance: SmartGridComponent)
|
||||||
|
Returns the data for the export. If the grid has a prompt before export, it will confirm the export of all records if more records than in the current page are available. If no prompt is defined, it will export the current page.
Parameters :
Returns :
Promise<QueryResult>
|
| Public Async getPdfExportOptionsAndData | |||||||||
getPdfExportOptionsAndData(gridInstance: SmartGridComponent, onFetchStart?: () => void)
|
|||||||||
|
Opens the PDF export dialog and returns the data and options for the export.
Parameters :
Returns :
Promise<literal type | null>
|