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, 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.
These projects require a UI for ASP.NET MVC 2014.3.1125 version or later. Earlier versions do not expose the
ExcelExport
event through the fluent API.
For more information on how to create Excel documents, refer to this article.