Skip to content

ExportMethods

Export methods returned from useGridExport.

PropertyTypeDescription
exportToCsv(filename: string, params: Partial<ExportParams>) => voidExport grid data to CSV file.
exportToExcel(filename: string, params: Partial<ExportParams>) => voidExport grid data to Excel file (XML Spreadsheet format).
exportToJson(filename: string, params: Partial<ExportParams>) => voidExport grid data to JSON file.
isExporting() => booleanCheck if an export is currently in progress.
getLastExport() => { format: ExportFormat; timestamp: Date } | unknownGet information about the last export.
isReadyRef<boolean>Whether the grid has finished its first render. v2.5.0+