Dear all,
I have a scenerio in which the grid is dynamically created and populated at run time i.e nither the fix number of rows nor the columns. Whenever the count of columns and rows exceeds a certian limit they are clipped across the pages.
What I have done to avoid this loss of contents is:
private void ultraGrid_InitializePrint(object sender, Infragistics.Win.UltraWinGrid.CancelablePrintEventArgs e){ e.DefaultLogicalPageLayoutInfo.ColumnClipMode = Infragistics.Win.UltraWinGrid.ColumnClipMode.RepeatClippedColumns;
}
It repeats the clipped columns at the start of next page. However, still there are clipped columns making the printed document not very attractive and professional. I could have set the following property to limit the distribution of logical pages also:
e.DefaultLogicalPageLayoutInfo.FitWidthToPages = 1; // or smthing else.
but it would compress the grid and its contents on the printed document which is again not readable and acceptable solution. Moreover, the user has the ability to resize the columns making the situation more severe as far as the printing is concerned.
Is there any wayaround to change this behavior of the grid i.e. not to print those columns or rows if the ColumnClipMode or ClipRowBehavior is set to the above.
I will highly appriciate the response.
Regards,
Waseem
I'm bumping this question as I want to do the same thing.
Rather than RepeatClippedColumns, I just want the column to appear on the next page when theres not room, I don't want part of it appearing on the first page.
Is there a way of achieving this?
No, the ColumnClipMode property does not have an option for this.
You should Submit a feature request to Infragistics
Mike,
Do you know if this feature request has been released or is targeted for a release? I didn't want to submit a feature request if one has already been submitted and accepted for a release.
Thanks,
~Corey
No, nothing has changed in this area.
Hi Mike,
Has something changed since your last post? Is it possible now to move clipped columns to next page and avoid printing part of column on previous page?
Thx
Hi Corey,
This has not been implemented, so you should go ahead and submit a feature request. The most requests we get for a feature, the more likely it is to be implemented.