Ability to change grouping display text in wijmo flex grid grouping

Posted by: nilesh_nichal on 5 December 2023, 5:19 pm EST

    • Post Options:
    • Link

    Posted 5 December 2023, 5:19 pm EST - Updated 5 December 2023, 5:24 pm EST

    When grouping grid data by adding GroupDescription objects to the grid’s collectionView.groupDescriptions property, the grouping row displays the column value and item count. Do we have any control over the value displayed. In the screenshot attached, we have the grouping by Country and Product, the value displayed there is Country: Germany (34 items). We dont want the item count part, how can we do this? Is there any property setting for this? Or is there any setting where we can change the value displayed there altogether?

  • Posted 5 December 2023, 5:32 pm EST

    Hi Nilesh,

    You can use the groupHeaderFormat property of the FlexGrid to provide custom header format for the groups.

    Please refer to this API link for more information: https://developer.mescius.com/wijmo/api/classes/wijmo_grid.flexgrid.html#groupheaderformat

    Please refer to this sample for reference: https://stackblitz.com/edit/angular-ivy-cfzz3r

    Regards

    Anirudh

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels