Hello team,
I have a requirement where the grid is read-only, and based on user inputs like start-end row and column we programmatically highlights the particular range using selectCells
.
We are using outsideClickDeselects: false
to keep the selection active. But when user clicks on any cell/header inside grid the selection goes away.
It would be helpful if I get some pointers to keep the selection active until other range gets selected using selectCells
.
I am using below handsontable config –
selectionMode: 'multiple'
disableVisualSelection: 'current'
outsideClickDeselects: false
I believe the solution lies within the hooks but not sure which ones to use.
Thanks in advance!