ExportMethods
Export convenience methods returned from useGrid.
Example
Section titled “Example”// Old (deprecated)const { exportToCsv, exportToJson } = useGrid();
// New (recommended)import { useGridExport } from '@toolbox-web/grid-react/features/export';const { exportToCsv, exportToExcel, exportToJson } = useGridExport();Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
exportToCsv | (filename: string) => void | ⚠️ Export grid data to CSV file. Requires ExportPlugin to be loaded. |
exportToJson | (filename: string) => void | ⚠️ Export grid data to JSON file. Requires ExportPlugin to be loaded. |
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