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 Valerio,
Regarding formatting : You can try the StringFormat property of the SummaryDefinition. You can see an example of that in the XamFeatureBrowser under RowSUmmaries - Formatting Row Summaries.
If you want to be able to click or perform some action on the summaries, you can see an example of that in the XamFeatureBrowser under RowSummaries - Custom Button in Summary Template. For this, you would have to retemplate the SummaryResultsPresenter. You can also handle the PreviewMouseLeftButtonDown event of the XamDataGrid and use the Snoop Tool to investigate the element tree of the XamDataGrid and you application and determine what you have to find/retemplate.
Thanks for the quick replay, formatting with the stringformat could be an option, but it would surely drive me crazy, because I need to tab text in the correct column alignment and I don't want to think about allowing user to size columns and other things like that....Let me post an image of the grid i'm working on. As you can see I don't need the summary row below the header row of each group. I would like to load summaries directly in the header row. If the only option is to use SummaryDisplayArea.InGroupByRows I will manage that way....
VAlerio
Hello, Alex,I found a strange behavior in the attacched project (the same we'have been working on).I grouped everything and then opened the rows to navigate inside just to allow the scrollbar to appear.
Playing with the scrollbar I see a disallignment between the header columns and the inner columns .
Is there any workaround for this behavior?
Thanks, VALERIO
Hi Alex,
How do i get rid of the default group summary description like (no of items)
Thanks
Rajesh
Rajesh,You can look at this forum post about Customization Strings:
http://community.infragistics.com/forums/p/32547/177350.aspx#177350
@ Valerio,
Thanks for the additional information - I was able to reproduce this. I am going to create a support case for you and continue the discussion there.
The link in this post doesnt work. I need to remove the default griup description which is (1 item).
Here is the link again.
You need to change the following customization string:
GroupByDescription_Format_OneChild - {0} ({1} item)
How do i change this customization string( where is this stored).
Also is it possible to totally remove this text on summary row as i am displaying my custom summary
for groupby records.