[GH #5754] selectionMode doesn't work while we use mergecells

Tags: #<Tag:0x00007f0b0b3298e0> #<Tag:0x00007f0b0b329368>

Hi,

If we use mergeCells in the table, then the selectionMode is not working. But if we remove mergeCells then selectionMode is working. Please guide me how can I achieve both in a table.

Following is the stackblitz to replicate this issue:

Hey @ebalasubramanian24

what steps should I take to replicate the issue? I do not see any oddities

  1. Just try to select multiple cells by dragging, it will happen, but actually I shouldn’t.
  2. If you remove the code for mergeCells and try to select multiple cells by dragging it will not happen.

Can you record the behavior? Whatever I do it seem to work as expected.

Sorry for the delayed response…

Here is the recordings of expected and actual behaviour.

Actual behaviour:

I had made the selection mode as single and also had used merge cells, in that case selectionmode single is not working, I can able to select the as many cells I can. But If I remove the merge cells then it’s working as expected.

Expected Behaviour:

Here I had removed the merge cell and now it’s not allowing to select more than one cell.

My expectation is, I need to use merge cells and the selection mode should not select more than one cell.

Regards
Bala

Thank you for sharing the videos.

I have replicated the issue in our vanilla version https://jsfiddle.net/handsoncode/0qe3howm/

I have reported the issue on our Github board https://github.com/handsontable/handsontable/issues/5754 and will let you know as soon as it gets fixed.

That’s great! Thank you!

Will be waiting for the fix.