I have an UltraGrid and I'd like to modify the text that is shown in the group headers when you enable the GroupBy functionality by dragging a column's header to the top of the grid.
The text I'd like to add to the header is the value of a column and that value is constant among the group.
Currently, if I group by Job, the groups' header show Job number, Order Fill % and Job Status. I'd like to add the Part Number to this header.
Is this possible? Any help is appreciated.
Hello ,
Thank you for posting. In order to modify the group row text you can either use InitializeGroupByRow event which fires when a GroupBy row is initialized, like this, (provided information with a sample ):
https://www.infragistics.com/help/winforms/infragistics.win.ultrawingrid~infragistics.win.ultrawingrid.ultragrid~initializegroupbyrow_ev
or can use GroupByRowDescriptionMask property, which is what the grid uses to determine what to display by default in the group-by row's Description property.Like this :
https://www.infragistics.com/help/winforms/infragistics.win.ultrawingrid~infragistics.win.ultrawingrid.ultragridoverride~groupbyrowdescriptionmask
You can also refer this post provided more information.
https://www.infragistics.com/community/forums/f/ultimate-ui-for-windows-forms/27526/change-the-caption-of-a-groupby-row
Please let me know if you need further assistance.
Sincerely,
Divya Jain
Associate Software Developer