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

Export to CSV only gives MasterTableView data

5 Answers 143 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jake
Top achievements
Rank 1
Jake asked on 15 Sep 2009, 05:48 PM
I have an instance of a RadGrid on my page with hierarchical data.  Exporting to Excel or Word works wonderfully.  However, exporting to CSV results in only the MasterTableView data being exported.  Any clues?

If anyone is thinking of suggesting I expand all of my MasterTableView items by default, please don't.  As I said, it works for Excel and Word, so this is not the problem.

Thank you in advance!

5 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 16 Sep 2009, 05:06 PM
Hello Jake,

I'm afraid RadGrid doesn't support the aforementioned functionality. Our developers haven't implemented it because the CSV format is not appropriate for storing hierarchical data.

Let me know if you need more information.

Best regards,
Daniel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Jake
Top achievements
Rank 1
answered on 16 Sep 2009, 05:10 PM
That makes sense.

Is there a way for me to export only the expanded detail table data when the user has selected to export to CSV?
0
Jake
Top achievements
Rank 1
answered on 21 Sep 2009, 02:21 PM
Bump!
0
Daniel
Telerik team
answered on 22 Sep 2009, 04:10 PM
Hello Jake,

Yes, it is possible. For your convenience I created a simplified demo project. It is attached to this forum post.

I hope this helps.

Best regards,
Daniel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Phil
Top achievements
Rank 2
answered on 18 May 2011, 05:04 PM
Hi:
Thanks guys, this helped a lot.  Hide the denormalized columns in the details grid and when exporting un-hide them and export only the details view.  That's beautiful.
Phil
Tags
Grid
Asked by
Jake
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Jake
Top achievements
Rank 1
Phil
Top achievements
Rank 2
Share this question
or