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
125
Summarie Rows are not all printing
posted

Hello,

I have a grid bound to a hierarchical BindingList<T>  this object generally is 4 levels deep, but can vary.  When I perform a print using the ultragrid printpreview and print methods, I get all rows in an expanded state, but no row summaries below the second band level.

I am using 2 custom sort object using this ICustomSummaryCalculator interface, and all summaries are generated correctly in the screen layout.   The first ICustomSummaryCalculator is only added to the first parent band, and the second ICustomSummaryCalculator is added to every other band in the grid.

I also notice that when a row is expanded the the summary is generated.  Does this maybe have something to do with the printlayout having all rows expanded, while the screen layout does not..thus all of the child band summaries are not generated.  Here is a conflicting statement....when I have all rows in the grid expanded (screen layout), and I print, the summaries still do not appear.

I do have some code in the initialize row event subscription to collapse or expand rows in the printlayout, based on the expansion state of the screen layout.  but even with this code removed, the summaries are still not printing.

Thanks for any light you can shed.

Best Regards,

Gerald

Parents
No Data
Reply Children