This sample demonstrates the hierarchy Grid export feature. In this sample, you can export the hierarchy grid by clicking the corresponding export button from the grid's toolbar.
Grid supports client-side Hierarchy Grid exporting which allows you to export its data to the Excel and Pdf formats.
In this demo, ExcelExport and PdfExport items are defined in the toolbar. For these toolbar items, we have defined actions
in the toolbarClick event to export hierarchy Grid using the
methods and the grid will export using
Expanded- Exports only the visible child grids in expanded state.
All- Exports all the child grids in expanded state.
None- Exports the child grids in collapse state.
We can change the hierarchy grid's export option by using the