Is there a way to disable the multiple cell selection feature? Or maybe all the selection features, even for single cells?


I’m wondering if there is a way to disable the rectangular cell selection (for selecting multiple cells) in the table.

2 answers

WebDataRocks Team WebDataRocks November 7, 2019

Hello, Claudio,
Thank you for your question.
Currently, there is no method that would completely disable cell selection.
As a workaround we kindly recommend you using the following construction:

webdatarocks.on("cellclick", function () {
webdatarocks.on("celldoubleclick", function() {

The removeSelection() method will remove selection in case of cellclick and celldoubleclick events.
Also, to prevent graphical highlighting adjust add the following block to your CSS:

.wdr-sheet-selection-canvas {
  display: none !important;

Find out an example by following the link:
We hope it helps.
Please, let us know if you have additional questions.
Kind regards,
WebDataRocks Team

Claudio November 7, 2019

A very appreciated workaround, thank you for your support!