Export Detail Grids to Excel
The demo on how to export the detail Grids and merge their workbooks with the master Grid workbook uses the excelExport
event to get the workbook of the detail Grids.
The event is prevented to avoid saving an Excel file for every detail Grid.
To see the example on how to export all expanded detail Grids on the current page, refer to this Visual Studio project.
To see the example on how to export all pages and all expanded detail Grids, refer to this Visual Studio project.
Versions of UI for ASP.NET MVC older than 2014.3.1125 do not expose the
ExcelExport
event through the fluent API.
For more information on how to create Excel documents, refer to this article.