Hi
I have a grid that shows staff leave information. Each row show employee absences for each from today to end of the calendar year. The days are group by months and the months by year using groups. The groups are setup in the InitializeLayout event of the grid.
I am using the UltraGridDocumentExporter to export the grid to a PDF. I can create a PDF if I comment out the code in the InitializeLayout event that create the groups. If the groups are showing on the grid, the exported document is never created.
Is it possible to get this to work or to create the groups manually in the PDF? I have attached a screenshot of the groups to the message.
Let me know.
James O'Doherty
Solutions and Database Architect
WINSQL Ltd
Hello James,
Thank you for your response.
I used the attached sample to try to reproduce the issue, but I didn't see any noticeable difference in time to export between the two grids in the sample. When the Export button is clicked the grid on the selected tab page is exported.
Please let me know if there are any differences between my sample and your project.
Hi Dave
Thanks for the reply. I've attached a zip file the layout of the grid. The columns are grouped by month and by year.
My issue is I'm trying to export the grid to a PDF document. This work well if I removed the column groups. With the column groups, I eventually get a PDF document but it takes over an hour for a grid that 150 rows by 250 columns. Without the column groups, it takes less than 30 seconds to generate the PDF file.
I'm not clear why performance is so poor or what I can do to resolve this issue.
Let me know if you need more information. I can send the outputs if you can let me have your email.
Regards
James
Thank you for contacting Infragistics.
I'm a bit confused as to the exact issue you're facing. In the subject of the thread you mention RowLayoutStyle.GroupLayout, but the description in your post seems more like you're grouping the grid by certain columns.
Would you be able to provide a sample project that demonstrates the issue?