Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Chad on Sep 19, 2008 12:01
open dhtmlx forum
capturing shift-tab key press and problem entering edit mode on a checkbox type cell

In a previous question you told me how to capture a Tab key press and that works great:

mygrid._key_events.k9_0_0 = function(){
...
};

How do I capture Shift Tab for going backwards?

The other thing i'm trying to do is when setting the new cell it wont enter edit mode on a checkbox type cell. Normal textboxes work great.

mygrid.selectCell(newRowIndex,newCellIndex,false,false,true,true); // parameter for entering edit mode is set to true

I've also tried the mygrid.editCell function but it doesnt work on checkbox type cells either.
Answer posted by dhtmlx support on Sep 23, 2008 01:35
>> How do I capture Shift Tab for going backwards?

You can try the following in this case:

mygrid._key_events.k9_0_1 = function(){
...
};

>> The other thing i'm trying to do is when setting the new cell it wont enter edit mode on a checkbox type cell.
 
Checkbox doesn't have edit mode.