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

[Solved] Grid Export Questions

2 Answers 104 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
boris
Top achievements
Rank 1
boris asked on 27 Nov 2009, 10:07 AM
Hi,
I have a couple of questions about grid export.
First, I would like to export a grid in xls/doc/scv formats without a header row, but I can't find any examples how to do this. One idea that I had is to intercept grid_exporting event and do something with a HeaderRow ExportElement but I was hoping there is a more elegant way of doing this..
Another thing that I need to implement is exporting only selected items, not all the rows in the grid. Again, I have some ideas- maybe creating a new grid with just those rows.. but that doesn't seem like a winner :S
Tnx. 

2 Answers, 1 is accepted

Sort by
0
Accepted
Vlad
Telerik team
answered on 27 Nov 2009, 10:19 AM
Hello boris,

We have overloads for both cases of all ToXXX methods - you can find screenshot attached.

Kind regards,
Vlad
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
boris
Top achievements
Rank 1
answered on 27 Nov 2009, 11:59 AM
Thanks Vlad,
I can't believe I haven't noticed the oveload methods myself.. :(
Thank you for your time .
Tags
GridView
Asked by
boris
Top achievements
Rank 1
Answers by
Vlad
Telerik team
boris
Top achievements
Rank 1
Share this question
or