How do i get rid of the label name in the group header? I have formatted the summary definition using the string format property but it keeps adding the column label name to it, I don't want the column label name in the description.
bump
Anyone have any ideas on this?
You can set the description on the GroupByRecord manually. I'm using this to create custom group label. I believe if you handle the RecordAdded event, you can check if the new record is a GroupByRecord and set the Description property. I haven't found any way to do this in XAML.
This doesn't work as I have a read only grid. Is there some other way? This is really frustrating since I am using a string format on the summaries it will display correctly at the footer of the grid but keeps adding the column name in the group by description.
It does remove column label name. But it's an ugly solution because it expands the row a lot.
Can this bug be fixed in the next NetAdvantage service pack?
p.s. the link you gave doesn't work
Hello,
One way to accomplish this would be to set the XamDataGrid's FieldLayoutSettings.GroupBySummaryDisplayMode to SummaryCellsAlwaysBelowDescription. While it expands out the group by rows a bit so that the summary can be displayed below the description it does remove the column names.
For more information about the GroupBySummaryDisplayMode property please see the following article in the documentation:
<http://help.infragistics.com/NetAdvantage/WPF/Current/CLR4.0/?page=InfragisticsWPF4.DataPresenter.v10.2~Infragistics.Windows.DataPresenter.FieldLayoutSettings~GroupBySummaryDisplayMode.html>
Please let me know if you have any further questions or concerns about this approach.
Hi,
I am also facing the same problem. I dont want to display the Column name in the summary, is there any way to do it??
For example I set the string format for the calculator as below, but it prefixes column name to this.
summaryDefinition.StringFormat =
"Avg = {0:#,###.#000}";