I don't want to export certain columns from the grid. So far I have the code below, however is still exporting every single column even those marked as hidden.
private void UltraGridStatisticsExcelExporter_InitializeColumn(object sender, InitializeColumnEventArgs e) { if (!e.Column.Key.Equals("Foo")) {e.Column.Hidden = true; } }
Thanks!
BeginExporter was replaced by the ExportStarted event. So use ExportStarted.
Hi Michael,
I'm using version 13.1.20131.1001 Begin export seems to be deprecated. Any suggestions?
Hello Fernando,
Which version of Infragistics are you currently using? Have you tried using the BeginExport event? This topic has been previously discussed:
http://es.infragistics.com/community/forums/t/10309.aspx
Please let me know if you have any questions regarding this matter.