mygrid.enableBlockSelection(false); errors in version 4.0.3

When I try to turn block selection off mygrid.enableBlockSelection(false); in v4.0.3 I get the following error:

Uncaught TypeError: Cannot set property ‘value’ of undefined
dhtmlx.js line number 9
It points to this statement…

Any ideas? Thanks!

Unfortunately the issue cannot be reproduced locally.
The following sample works well with mygrid.enableBlockSelection(false) … ction.html

If the problem still occurs for you, please, provide with any kind of sample of your code or with a complete demo, where the problem can be reproduced locally.

I just e-mailed a complete demo to I emailed it instead of putting in the forum because it’s the pro version. Thanks!

one note: our email is support[at]

That’s what I meant, my bad :slight_smile:

Unfortunately we didn’t receive your demo.
Please, try to send it to dhtmlx[at]

Ahhh, you right, I had a typo, I just resent it. Thanks!

I have received your demo.
The issue is confirmed. We’re working on it.
You may open the ticket in so we can provide you a fix just when it will be ready.
For now you may use the following workaround:

  1. enable the block selection
  2. load the data
  3. disable the block selection

mygrid.enableBlockSelection(true); mygrid.init(); mygrid.parse(data,"json"); mygrid.enableBlockSelection(false);