Skip to content

Data Grid — Toolbar, export & clipboard

Data Display

The toolbar holds search, export and the column chooser; rows can be exported to CSV or Excel and copied to the clipboard.

Examples

Export and copy

[showExportCSV] and [showExportExcel] add export buttons to the toolbar; they download the sorted and filtered rows (Excel is a tab-separated .xls file). copyToClipboard() copies the selected rows, or the current page, as tab-separated text that pastes into a spreadsheet; Ctrl+C does the same. In server mode the buttons emit exportRequest so you can export on the server.

Select rows to copy only those.
No filters active
Wireless mouse Electronics €29.99
Mechanical keyboard Electronics €89.99
USB-C hub Accessories €49.99
Monitor stand Furniture €34.99