Hi
I have a set of data that I am exporting to PDF using the UltraGridDocumentExporter. I am using the SummaryRowExporting and SummaryRowExported events to modify the way that the summarised totals look. What I would like to do is to add some text into the summary row below the columns that do not have totals, but I can't seem to find a way to access this part of the row. Can someone please give me an example of how to do this.
Thanks
Ben
Hi Ben,
What kind of text are we talking about here? Do you mean text that spans across columns? Or could you acheive what you wanted by adding summaries to some of the other column that don't have summaries?
For the former, I don't think this is feasible. The grid exporter creates quite a complex hierarchy of nested objects in order to create the summaries, and I don't think you can access the cells of the IGrid object you would need in order to add in text, and even if you could, you would be restricted to the cells, I think.
For the latter, you could pretty easily add some extra summaries into the Export layout without affecting the on-screen layout of the grid.
Hi Mike,
Thanks for your reply. Allowing text on the summary row to go accross columns would be ideal, but as you say this maybe not possible. I tried your second idea which has turned out as shown below. I set the first column to a summary column prior to exporting to PDF, and then changed the text inside the summary cell to what I wanted.
Is there definately no way of having this text extend over the next columns on just one line, instead of wrapping within the cell?
Hello,
Has your issue been resolved?