Customization of TreeGrid's expand/collapse icons

Posted by: weide.zhu on 8 August 2022, 1:01 pm EST

    • Post Options:
    • Link

    Posted 8 August 2022, 1:01 pm EST - Updated 3 October 2022, 2:50 am EST

    hi,

    We use wijimo Flexgrid as a treegrid, and would like to change the expand/collapse icons to ‘+’ and ‘-’, can you show us how to achieve that?

  • Posted 8 August 2022, 8:28 pm EST

    Hello,

    You may handle the formatItem event of the FlexGrid and replace the expand/collapse icons placed inside the cell elements with the plus/minus icons respectively. Please refer to the sample link below demonstrating the same:

    https://stackblitz.com/edit/js-1yxnqz?file=index.js

    Regards

  • Posted 9 August 2022, 9:43 am EST

    it works,thanks

Need extra support?

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

Learn More

Forum Channels