Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
285
ExtendedUltraGridExcelExporter prevent certain columns to be exported
posted

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!

 

Parents
No Data
Reply Children