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

how to block (or) remove template columns and columns from exporting into excel

1 Answer 69 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ranganathan
Top achievements
Rank 1
Ranganathan asked on 15 Sep 2014, 10:51 AM
Hi Team,

Our requirement is to show more than 30 columns in the grid .Refer the attachment for the html.

We have placed a button below to grid to export only 20 columns from the grid into excel and pdf. So we have tried this functionality by setting Exportable="false"  in the rest of the 10 columns which we don't want to be the part of export.

Those 20 columns which are needs to be part of export is combination of GridTemplate column,GridBound Column and GridNumeric column. Please refer the attachment.

The problem which we are facing is even though we put Exportable="false" to the 10 columns which are not to be part of export to excel are getting exported .For example in the attachment right now we are trying to block the below columns from export but it not working.

Columns that needs to be blocked from export:-
1) AuditTrail
2) AuditTrailId
3) SystemMessage
4) ErrorIdMessage
5) ErrorDivid

1 Answer, 1 is accepted

Sort by
0
Kostadin
Telerik team
answered on 18 Sep 2014, 06:46 AM
Hi Ranganathan,

I have already answer your question in the opened support ticket. I would recommend you to continue our conversation there if you need further assistance.

Regards,
Kostadin
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
General Discussions
Asked by
Ranganathan
Top achievements
Rank 1
Answers by
Kostadin
Telerik team
Share this question
or