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…
this._clip_area.value=“”;
Any ideas? Thanks!
Unfortunately the issue cannot be reproduced locally.
The following sample works well with mygrid.enableBlockSelection(false)
dhtmlx.com/docs/products/dhtmlxG … 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 dhtmlx@support.com. I emailed it instead of putting in the forum because it’s the pro version. Thanks!
ok.
one note: our email is support[at]dhtmlx.com
That’s what I meant, my bad
Unfortunately we didn’t receive your demo.
Please, try to send it to dhtmlx[at]gmail.com
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 support.dhtmlx.com so we can provide you a fix just when it will be ready.
For now you may use the following workaround:
- enable the block selection
- load the data
- disable the block selection
mygrid.enableBlockSelection(true);
mygrid.init();
mygrid.parse(data,"json");
mygrid.enableBlockSelection(false);