开发者

Exporting Hierarchical Telerik RadGrid to Excel

开发者 https://www.devze.com 2023-02-10 07:41 出处:网络
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 o

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消