[GH #5737] Selection of an already selected cell

Tags: #<Tag:0x00007f8b2b1c32a8> #<Tag:0x00007f8b2b1c2fb0>

Why, when I press (ctrl and click) on the selected cell, this cell will be highlighted again, but right deselect it cell.
I can press ctrl and click 10 times on a single cell, it selected 10 times, it’s not right.
http://joxi.ru/KAgoQLwhEnynEA

Hey @pontiac358

that’s our new feature, which is enabled by default. You can turn it off by adding https://jsfiddle.net/5fnotk1j/

Let me know if it meets your project requirements.

And you can make it so that when you press “ctrl click” on the selected cell, the selection is reset from this cell?

Can you share a draft? I am not sure what you mean

Hi Alexandra!

I guess @pontiac358 is right.

Once you select the cell with CTRL + left mouse click and trying to deselect this cell by CTRL+left mouse click again:

Expected behavior:
Cell will be deselected (this cell removed from buffer of selected cells)

In fact:
Cell keep selected and buffer just accumulate the same cell over and over again:

https://jsfiddle.net/r7b28Lad/

Hey @pontiac358 @gleberof

If you use the multiple mode of the selection then you load another layer of data. If you use range mode then you select only one layer of data like here https://jsfiddle.net/pj4rah9k/1/ (docs)

With “range” you can’t select cells distance from each other with CTRL.

With “multiple” - you do not have “deselect” option (which is expected behavior for multiple select/deselect)

I can’t imagine the case when user needs to select the same cell multiple times (plus: without understanding how many times he selected it). I would say “multiple” select expected to works differently. (Example: Google Spreadsheet)

Yes, that is actually a great idea. I have allowed myself to create a feature request on our Github board https://github.com/handsontable/handsontable/issues/5737
If I am missing something crucial please add a comment