This is a migrated thread and some comments may be shown as answers.

RadGrid Hierarchical Export to Excel

3 Answers 253 Views
Grid
This is a migrated thread and some comments may be shown as answers.
J
Top achievements
Rank 1
J asked on 22 Dec 2010, 02:04 PM
Hello,

I have a RadGrid control having the following hierarchical structure

Master table: header ----> CompanyName, ContactName, Address

Detail table  : header ----> OrderId, OrderDate, ShippedDate

Issue
======

I'd like to export all current grid data with headers (master and detail); However on export to Excel, only the detail header is exported.  Is there a setting that would allow both master and detail headers to get exported?

many thanks
J

3 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 24 Dec 2010, 10:58 PM
Hello J,

Please download the attached sample project and let me know how to modify it in order to reproduce the problem. Thanks.

Regards,
Daniel
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
bharat veer
Top achievements
Rank 1
answered on 08 Aug 2011, 01:03 PM
hi Sir,

It works for Excel properly.
but when i used CSV it just export only master tables data.

how can it be worked for CSV.

please sir reply soon.
thanks.
0
Princy
Top achievements
Rank 2
answered on 08 Aug 2011, 01:06 PM
Hello Bharat,

RadGrid does not support exporting Hierarchy. Check the following help documentation which explains more about this.
CSV export.

Thanks,
Princy.
Tags
Grid
Asked by
J
Top achievements
Rank 1
Answers by
Daniel
Telerik team
bharat veer
Top achievements
Rank 1
Princy
Top achievements
Rank 2
Share this question
or