Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by TK on May 22, 2009 11:32
open dhtmlx forum
tab order using setExternalTabOrder

I am using grid.setExternalTabOrder(field1, field2) to get focus
- from the first cell to field1 when the user uses shift+tab
- last cell to field2 on tab key press

I have couple of issues with IE and Firefox(FF).

IE:
The focus moves to field1 on shift+tab from the first cell and field 2 on tab key press from last cell. However when the focus is on field1 and I press shift+tab the focus moves to the first cell in the grid instead of the field prior to that.
Basically, Shift+tab is acting like tab.

Firefox:
In firefox, the shift+tab on the first cell does not do anything, in other words, the focus still remains on the first cell.

Thanks
Answer posted by dhxSupport on May 25, 2009 04:24
>>However when the focus is on field1 and I press shift+tab the focus moves to the first cell in the grid instead of the field prior to that.
This is expected behavior is previours input for the field1 is a first grid's cell.
>>In firefox, the shift+tab on the first cell does not do anything, in other words, the focus still remains on the first cell.
This bug was fixed. If you need changes immediately please contact support@dhtmlx.com and provide your ref. ID and we will send you fixed file.