Hi All!
Well, i have a problem, with the export with the Hierarchical DataGrid, well, the export is OK, but i have hidden columns, in my Asp PAge, don't display (this is good), but when i export the Grid, the exported file show me the columns that i hide before..
any ideas?? well,. the code for hide the columns is:
whdgReporteCaja.GridView.Columns[4].Hidden = true;
and with this too:
whdgReporteCaja.Columns[4].Hidden = true;
But the exported file show me all :(
Regards!!
Hi Alfredo,
Thank you for posting in the community.
If you are hiding your columns from the code-behind you need to do it from the InitializeBand event of the grid in order for such settings to be taken into account when exporting.
Please let me know if this helps.
Best Regards,
Petar IvanovDeveloper Support EngineerInfragistics, Inc.http://www.infragistics.com/support
Hi Peter
This solution works perfectly!! Thank you!!
Regards!!.
Alfredo Melo
Glad that I was able to help. Please let me know if you have any additional questions regarding this matter.