File

src/ui/grid/services/smart-grid-export.service.ts

Index

Methods

Methods

Public Async getExcelExportOptionsAndData
getExcelExportOptionsAndData(gridInstance: SmartGridComponent, onFetchStart?: () => void)

Opens the Excel export dialog and returns the data and options for the export.

Parameters :
Name Type Optional
gridInstance SmartGridComponent No
onFetchStart function Yes
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 :
Name Type Optional
gridInstance SmartGridComponent No
Public Async getPdfExportOptionsAndData
getPdfExportOptionsAndData(gridInstance: SmartGridComponent, onFetchStart?: () => void)

Opens the PDF export dialog and returns the data and options for the export.

Parameters :
Name Type Optional
gridInstance SmartGridComponent No
onFetchStart function Yes
Returns : Promise<literal type | null>

results matching ""

    No results matching ""