Wijmo MultiRow, select all rows per item together

Posted by: mgorelov on 15 November 2020, 12:14 am EST

  • Posted 15 November 2020, 12:14 am EST - Updated 3 October 2022, 6:11 am EST

    Hello,

    I have a feature request which I cannot figure out how to implement.

    I have a multirow grid and it has 3 rows per item. By default, grid selects only 1 row when user clicks on it. Same applies to navigation using arrow keyboard keys.

    Is there a way to select all rows per bound item as a whole?

    I have attached a screenshot which shows what I mean.

    Can you help me out?

  • Posted 16 November 2020, 7:48 pm EST

    Hi Mikhail,

    You can add a selectionChanged event handler and update the selection to all the rows of the current item.

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

    But doing this will remove some functionality from the Multirow like editing because, whenever you will click on a cell to edit it, the selectionChanged handler will run and will select the new cells again preventing the Multirow to go into edit mode. This is the reason why we have not added this functionality by default.

    Let me know if you need additional help.

    Regards,

    Ashwin

Need extra support?

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

Learn More

Forum Channels