I'm trying to Export an UltraGrid which includes hidden rows, and I want the hidden grid rows to display on the Excel export. I'm using the Exporter_InitializeRow event as follows:
Infragistics.Win.UltraWinGrid.UltraGrid grid = (Infragistics.Win.UltraWinGrid.UltraGrid)e.Row.Band.Layout.Grid;
Infragistics.Win.UltraWinGrid.UltraGridRow onScreenRow = grid.GetRowFromPrintRow(e.Row);
if (onScreenRow.Hidden) { e.Row.Hidden = false; }
The hidden rows are not showing in Excel. I also tried to additionally select the e.Row What do I need to do?
Thanks,
Ron
Hi Ron,
How are the rows being hidden in the first place? In what event are you hiding them?
In the window grid InitializeRow event.