ExportMethods
Export methods returned from useGridExport.
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
exportToCsv | (filename: string, params: Partial<ExportParams>) => void | Export grid data to CSV file. |
exportToExcel | (filename: string, params: Partial<ExportParams>) => void | Export grid data to Excel file (XML Spreadsheet format). |
exportToJson | (filename: string, params: Partial<ExportParams>) => void | Export grid data to JSON file. |
isExporting | () => boolean | Check if an export is currently in progress. |
getLastExport | () => { format: ExportFormat; timestamp: Date } | unknown | Get information about the last export. |
isReady | boolean | Whether the grid has finished its first render. v2.5.0+ |