Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
500
Can you change the label text of a grouped field?
posted

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>

 

 

 

 

 

 

 

 

<igDP:FieldSortDescription

 

 

 

IsGroupBy="True"

 

 

 

Direction="Ascending"

 

 

 

FieldName

="BusinessCategory" />

 

 

 

 

</igDP:FieldLayout.SortedFields

>

Parents
No Data
Reply
  • 30945
    Offline posted

    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

    XamDataGridAdditionalTextInGroupByRecord.zip
Children