Hi,
Unable to deselect blockselection; while applying selection to available rows. only outside click is working.
Hi,
Unable to deselect blockselection; while applying selection to available rows. only outside click is working.
I personnaly had an keyup observe event on the ‘escape key’. Therefore when the user presses on the ‘escape’ key, it deselects the selection:
I did it like this:
document.observe(‘keyup’, clearGridSelection);
…
function clearGridSelection(event){
if (event.keyCode == 27){
mygrid.enableBlockSelection(false);
mygrid.enableBlockSelection(true);
}
}