[GH #5737] Handsontable restrict selectionlayerlevel to single

Tags: #<Tag:0x00007f8b25a83128> #<Tag:0x00007f8b25a82ca0>

Hi

I have allowed selection mode to multiple.

I want to restrict selectionlayerlevel to single or when user selects same cell twice it should deselect instead of selecting on another layer.

I have noticed deselectCell method. This is helping only on selection mode is single. I can see a complex way of handling this by comparing index range and remove selected cell. If there is any direct way to achieve my goal that will be helpful.

Thanks
SJ

Hey @sudhakar.jothilingam

I want to restrict selectionlayerlevel to single

I was also thinking about adding those possibilities https://github.com/handsontable/handsontable/issues/5737 but unfortunately this hasn’t been added yet.

Nevetheless, I will update you as soon as we get this done.