Exporting Hierarchical Telerik RadGrid to Excel
I have a Telerik RadGrid that is hierarchical with parent and child grids. However, when I call the ExportToExcel() method, only the MasterTableView is exported. When I call the ExportToExcel() method on the Details table, an error is thrown "RadGrid must be databound before exporting.". Any ideas how to accomplish th开发者_JS百科is export?
Telerik RadGridView does not currently support exporting hierarchy grids to excel. Please review the answer at this link for full details. Regards, Richard
Expand all inner levels (by setting the HierarchyDefaultExpanded property at each detail level to true) prior to calling the export method, which I think is meaningful solely for the entire grid.
精彩评论