Skip to content

ExportMethods

Export convenience methods returned from useGrid.

// Old (deprecated)
const { exportToCsv, exportToJson } = useGrid();
// New (recommended)
import { useGridExport } from '@toolbox-web/grid-react/features/export';
const { exportToCsv, exportToExcel, exportToJson } = useGridExport();
PropertyTypeDescription
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