I have a particular field set as a "grouped" column by default for a grid. It specifies a particular field to use and of course, uses the value from that field in the header label text. Can I add a converter somehow to append to that label text?
I'm adding the grouped field by doing this:
<
igDP:FieldLayout.SortedFields>
="BusinessCategory" />
>
Hello,
I have created a sample application that demonstrates an approach for adding additionl text in the GroupByRecord. In the sample application I use a style for the GroupByRecordPresenter with an EventSetter for its Loaded event. In the event handler using the Utilities class I get the TextBlock that holds the text displayed in the GroupByRecord and adds additional text in the TextBlock.
If you require any further clarifications please do not hesitate to ask.
Sincerely,
Krasimir
Developer Support Engineer
Infragistics
www.infragistics.com/support
Thanks - your example certainly works, but my scenario is slightly different. I'm using a pre-defined style that includes the GroupByRecordPresenter style already overridden - and contained in a separate assembly. So when I try and use the code in your sample it doesn't work, I'm assuming because the style then gets overridden by what I've defined already.
Is there an alternative solution you're aware of?