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
60
UltraGrid.Print doesn't print what PrintPreview displays
posted

Hi

I work with NetAdvantage V10.3.

When Grid has expanded rows and collapsed rows, PrintPreview works properly by implementing InitializeRow event as follows.

if(e.Row.Band.Layout.IsPrintLayout)

{

 UltraGridRow row = grid.GetRowFromPrintRow(e.Row);

 if(null != row)

 {

  e.Row.Expanded = row.Expanded.

 }

}

But when the grid is printed to paper actually, all rows are printed with expanded. How can I resolve this?