Hi,
Is there the possibility to put summary in the grouped rows?Take the xamFeatureBrowser XamDataGrid-RowSummaries-CustomStyling example:1)Set Summary Diasplay Area to TOP2)Set Group by Display Area to DataRecordsOnly3)Drag Team column and group by Team: we see two grouped rows4)Expand the first row and see the summary row right below the grouped row.What I ask is: can i have the summaries directly in the grouped row?(or can I format the option -InGroupByRecords- in a way that allow correct horizontal positions of the summary text in the corresponding column?)Another question:I need to allow users to click on summary values to perform further actions based on the source column of the selected summary value in the grouped row selected.So I have to retrieve the source colum name and also navigate somehow the hierarchical tree of the groupBy to find all the parent groups if any.How can I navigate through the GroupBy tree?
VALERIO
hello Alex,
last question really:
when the user click on a summary value,how can I retrieve through code the source column of the selected summary?
Thank you very much
Valerio
So,
From what I can see, this is hard-coded inside the ControlTemplate, with a StackPanel with Orientation-Vertical. Of course, this is necessary, because if you have a summary for the first field, it will overlap with the description of the group by record.
However, if you would like to change that and you know that you will not have a overlapping summary, you can set a negative top margin or TranslateTransform.
I am attaching your project modified with this change.
You can find this style in the DefaultStyles directory in the Infragistics folder if you want to further modify it.
Sorry here it is
Hello Alex, you're right: with the last service release I have no more that problem!The only thing left seems to be alowing the summary be placed on the same line of the description header.I post my test project anyway if you want to work with.