Hello,
I am printing a UltraGrid using the UltraGridPrintDocument class. Currently when the width of the grid spands more than one page the row header is not displayed on the subsequent pages. I was wondering if it were possible to repeat the row headers on these pages? Also I was wondering if there was a way to hide split columns which will be repeated on the next page?
Thanks,
Hai
Hi Hai,
I tested this out and it seems to work fine for me. The PageHeader is repeated on every page, even when the page is a horizontal continuation of the previous page.
So I must be misunderstanding the issue. What exactly do you mean by "row header?"
Regarding the clipping of columns, there's no way to hide the column on the previous page, but you can choose whether to split the column or repeat it on the next page using the ColumnClipMode property:
private void ultraGrid1_InitializePrint(object sender, CancelablePrintEventArgs e) { e.DefaultLogicalPageLayoutInfo.ColumnClipMode = ColumnClipMode.RepeatClippedColumns; }