enableBlockSelection runtime disable

I have a grid, with two alternate usage mode, an a checkbow to change modes.

The modes are:

- draggable rows

- or blockSelection



My checkbok switch between two usage mode.

The draggable mode switch work correctly, but the enableBlockSelection() has no reverse method, and give a conflict.

When the rows are draggable, I can’t turn off the enableBlockSelection()…



How can I turn off the enableBlockSelection mode in the grid?



Please help me!!



Please use attached js file instead of original one, now you can use
    mygrid.enableBlockSelection(false);
to disable block selection feature

dhtmlxgrid_selection.zip (3.37 KB)