ExportMethods
Export methods returned from injectGridExport.
Uses lazy discovery - the grid is found on first method call, not during initialization. This ensures it works with lazy-rendered tabs, conditional rendering, etc.
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 | () => object | unknown | Get information about the last export. |
isReady | Signal<boolean> | Signal indicating if grid is ready. The grid is discovered lazily, so this updates when first method call succeeds. |
AI assistants: For complete API documentation, implementation guides, and code examples for this library, see https://raw.githubusercontent.com/OysteinAmundsen/toolbox/main/llms-full.txt