Skip to content

ExportMethods

Export convenience methods returned from injectGrid.

// Old (deprecated)
const grid = injectGrid();
grid.exportToCsv('data.csv');
// New (recommended)
import { injectGridExport } from '@toolbox-web/grid-angular/features/export';
const gridExport = injectGridExport();
gridExport.exportToCsv('data.csv');
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