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

Export grid select headers and style

1 Answer 65 Views
GridView
This is a migrated thread and some comments may be shown as answers.
thdwlgP
Top achievements
Rank 1
thdwlgP asked on 17 Nov 2009, 06:51 PM
Is there a way to select specific columns in a grid to export? If you want to skip column #3?

Also, on the demo http://demos.telerik.com/Silverlight/#GridView/Exporting I tried to export as Excel but when I did, the style was in effect for the table area but rest of the document was white with no borderline.

When I export to csv it looks just like default. Is there a way to export to xls with default style?

Thanks

1 Answer, 1 is accepted

Sort by
0
Accepted
Vlad
Telerik team
answered on 18 Nov 2009, 07:04 AM
Hi thdwlgP,

You can set IsVisible to false for desired column if you do not want the column data in the grid exported output. You can also check the Exporting event to know more how to style the grid export - this is supported only for the HTML format.

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.
Tags
GridView
Asked by
thdwlgP
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or