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
1635
Export hidden rows on grid
posted

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