keyboard support doesn't work anymore in certains conditions

Hello,

I’m using DHTMLX (Ver 3.6) and in certains conditions, the keyboard support seems to not function properly.

My grid is composed of “checkboxs, with a #master_checkbox as header” and multiples text columns. I did set the keyboardSupport on true by using “myGrid.enableKeyboardSupport(true);”

  • At first the keyboard navigation and checkbox check on space button works good, but whenever i mouse click on a row, i still can navigate using the arrow keys but can’t check any checkbox using space.

  • In another situation, whenever i attach an event on keyPress as
    mygrid.attachEvent(“onKeyPress”,function()
    {
    //TODO
    });

the keyboard support is completely nullified as i can’t navigate nor check any checkbox using space.

I also noticed that the event
grid.attachEvent(“onCheck”, function(rId,cInd,state){
// your code here
});
only fire when checking rows, but not “master_checkbox”

Thanks.

Regards,

Steven.

Unfortunately the problem cannot be reconstructed locally.
Pleas,e try to update the version of your dhtmlxGrid. If the problem still occurs for you please, provide with a complete demo or share with a demo link, where the problem can be reproduced.

The problem with the master_checkbox is confirmed. it is fixed in the latest version of the dhtmlxGrid. Also you may use the onCheckbox event instead of onCheck. It works correctly with the master_checkbox:
docs.dhtmlx.com/api__dhtmlxgrid_ … event.html