/
/
Default Exporting

This sample demonstrates the client-side exporting of the Grid, which allows you to export its data to the Excel, Pdf and CSV formats. Use the toolbar buttons to export Grid data to desired format.

More Details...

Description

Grid supports client-side exporting which allows you to export its data to the Excel, Pdf and CSV formats. In this demo, Grouping is applied for ShipCountry with groupCaptionTemplate property is used to display the group caption aggregation for the Freight column and excelexport, pdfexport and csvexport items are defined in the toolbar. For these toolbar items, we have defined actions in toolbarClick event to export the Grid data using the excelExport, pdfExport and csvExport methods. Injecting Module: Grid features are segregated into individual feature-wise modules. To use exporting feature, we need to inject ExcelExport and PdfExport module using the Grid.Inject(ExcelExport, PdfExport) method.