We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Databound grid - Excel export only visible columns

verion 8.10 winforms
 
I have hiden column which I don't want to export to excel. But the export is exporting the hidden
columns too but hiding in excel.How do I prevent the hidden columns to make it to excel.
 
Using the following

gecc.GridToExcel(

this.gridDataBoundGrid1.Model, saveFileDialog.FileName, ConverterOptions.ColumnHeaders | ConverterOptions.Visible);

   

 


1 Reply

AG Anish George Syncfusion Team January 21, 2014 04:17 AM UTC

Hi Farooq,

Thank you for using Syncfusion products.

We would like to let you know that there are some known issues in the 8.1 version but however the above code will work efficiently only in our later versions. So we request you to migrate to our latest version(11.4.0.26).

Please let us know if you need any further assistance.

Regards,
Anish

Loader.
Live Chat Icon For mobile
Up arrow icon