Page 1 of 1

selectionMode - multiSelect: false doesn't stop multiple selection via check

Posted: Fri Feb 14, 2020 9:12 pm
by Stormseeker
I have my selectionMode setup like this:
        selectionMode: {
          row: true,
          checkbox: true,
          multiSelect: false
        }
and if I click on the auto-generated check column (first column), I can still select multiple rows. Everything seems to work correctly if I click on any of the other rows/columns.

Maybe the onCheckChange function in GridSelection needs to look at the multiSelect property.

So instead of addToSelection: true, something like addToSelection:this.selectionMode.multiSelect?

Re: selectionMode - multiSelect: false doesn't stop multiple selection via check

Posted: Sat Feb 15, 2020 10:38 am
by mats
Looks like a bug yes, ticket opened: https://github.com/bryntum/support/issues/293

Thanks for reporting!

Re: selectionMode - multiSelect: false doesn't stop multiple selection via check

Posted: Sat Feb 15, 2020 9:39 pm
by Stormseeker
Would it be helpful if I report any future issues for Bryntum Grid directly to Github or should I keep posting here?

Re: selectionMode - multiSelect: false doesn't stop multiple selection via check

Posted: Mon Feb 17, 2020 8:26 am
by sergey.maltsev
Hi, Stormseeker!

Please keep posting here so we can check and open issues if the bug is confirmed and we decide to create a feature request.