开发者

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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜