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
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