Hello,
I'am using UltraGrid (2009.2). I add 6 summeries in my ultragrid. The summeries #1-#5 are displayed as a sum of the columns 1-5 above them. The summary #6 are a sum of all columns. This summary #6 displaying in a new row.
But I want to have a "space" between the first summary row (#1-#5) and the second summary row (#6)..
Also I want to have that each summary row have on the left side a Caption ( i.e. Sum/Week, Total Sum)
COL1 COL2 COL3 COL4 COL5
111 222 333 444 555
Sum/Week : 222 444 666 888 1110
Sum/Total: 3330 (One row space to the row above this row)
I hope it is understandable what I want.
Thanks
Mike,
Sorry for the late reply!
Actually I dont need to calculate anything. The data comes back as part of a data set. Table1 fills the grid data and I want Table2 to fill the summaries on several of the columns
Hi,
Elfmanne said:can the Summery Caption be removed??
Yes, see the SummaryFooterCaptionVisible property on the Override.
Elfmanne said: I need to provide my own summery text for many columns. How exactly can I achieve this?
I need to provide my own summery text for many columns.
How exactly can I achieve this?
It depends what you mean by "my own summary text". What exactly do you want to display? Are you saying that you do not want the grid to calculate the summary? Or are you saying that you want to use your own text in addition to the summary value?
For the former, you could use a custom summary with an ICustomSummaryCalculator.
For the latter, you can just use the DisplayFormat property on the SummarySettings.
Also, can the Summery Caption be removed??
Wow, that's a great feature. I didn't know anything about the feature of "TextUIElement" and "CreationFilter". I think this will help me.
Thanks a lot
You could use a CreationFilter to add a TextUIElement or other elements into the appropriate area of the grid.
If you have not used CreationFilters before, though, there can be a pretty tough learning curve. I recommend that you search the forums for "CreationFilter". There lots of samples posted here of CreationFilter to do all sorts of different things.
I also recommend that you get the Infragistics UIElementViewer Utility. It will be a huge help to you in seeing the UIElements you need to modify.
Also, here's an article posted by another Infragistics customer who is doing something very similar to what you are trying to do here:
My Creation and Draw Filters Article - Infragistics Forums