Null selection on spreadsheet


#1

Currently, there seems to be no way of bootstrapping a spreadsheet with no cell selected. This could be a handy feature if it could be implemented. There are a lot of scenarios where being able to tell the spreadsheet to not select anything is necessary.

Right now, using the selection API on the javascript spreadsheet, if you say setSelection(null) or setSelection() or even setSelection(undefined), you either get the A1 cell selected or an error.


#2

Unfortunately currently it is not available to clwear the selectiuon in the dhxSpreadsheet.
I’ve sent your report to the dev team and it will be observed for the future updates.


#3

As a workaround you may try to select the non-existing cell:

spreadsheet.selection.setSelectedCell("a9999")

so the selection will be reseted.