Hi All,
I am making use of UltraWinGrid in my application. I have added a column under the sortedcolumnscollection by default. So, by default my grid would be grouped by a column say "Project Number". I have added summary for many columns in my grid. I have given the summary display area as "InGroupByRows" and hence I would get the summaries in my group-by rows. Now, I would like to get the summary of all the group-by rows in the bottom. You can understand what am looking for below
I want the consolidated summary at the bottom apart from the summary in each and every group-by row. How could I achieve that? Any help would be of great use.
Regards,
Raghuraman.V
Hi,
I'm not 100% clear on what you want to do here. Do you mean you want a summary to the left of the grid rows? That is, to the left of the data or the column headers and not under the rows? There isn't any built-in way to do that.
If you really wanted to work at it, you could probably achieve something like this using a CreationFilter. But there are a lot of unknowns here for me, so it's hard to offer any more specific advice. Are you showing the RowSelectors? If so, I assume you would want the summary to the left of those, as well? That would be extremely difficult. If there are no row selectors, or you don't mind the summary being to the right of them, then you could add an unbound column to the first position in your grid just as a sort've placeholder and then use a CreationFilter to place a summary element in that column. But it would not be trivial.
Is this possible to have the alignment of multiple summaries in a way that, one summary is docked in Leftside of the grid and another summary is docked in bottom of the grid.I am using infragistics v9.2. It would be great if some one is helping me to achieve this. Thanks in advance.The UI is something like below.
SummaryDisplayAreas is a flagged enumeration, so you can specify multiple values by ORing them together.
private void ultraGrid1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e) { e.Layout.Override.SummaryDisplayArea = SummaryDisplayAreas.InGroupByRows | SummaryDisplayAreas.RootRowsFootersOnly | SummaryDisplayAreas.Bottom; }