Bulk set checkbox values in flexgrid

Posted by: weide.zhu on 3 August 2021, 2:05 am EST

  • Posted 3 August 2021, 2:05 am EST

    hi,

    We have a Angular grid where there is one boolean column displayed as checkbox.

    Just wondering is there any way we can let use bulk-select rows, and check/uncheck those values?

    Thanks,

    Weid

  • Posted 5 August 2021, 4:27 am EST

    Hi Weid,

    To check/Uncheck all the checkboxes in the selected range, you may get the checkboxes state of the selected rows from the selectedRows property of FlexGrid and update the state in the dataItem. You also need to refresh the collectionView to update the changes in the collectionView to reflect it on the FlexGrid.

    You may refer to the sample demonstrating the same:

    https://stackblitz.com/edit/js-maaxy3

    Let us know if you have any doubts.

    Regards,

    Ashwin

Need extra support?

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

Learn More

Forum Channels