Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Mar 28, 2008 21:08
open dhtmlx forum
dhtmlxgrid tabbing

I have a grid with 10 columns. When i edit a cell in say column 4 and hit tab the the control goes to column 2 instead of column 5. What might be the possible reasons for this problem?? I tried using the custom tabbing feature but iam getting the following error

mygrid.setTabOrder("1,2,3,4,5,6,7,8,9,10"); -----------------------------Object doesn't support this property or method

I think this is because i dont have the latest version of the dhtmlxgrid.js file.
Answer posted by Stanislav on Mar 29, 2008 14:45
The setTabOrder was implemented in dhtmlxgrid 1.5, so if you using some older version - method can be undefined

>>When i edit a cell in say column 4 and hit tab the the control goes to column 2 instead of column 5
This is pretty strange behavior, by default grid react on tab key by selecting next field, selection of some previous field has no native reasons and can be caused by some custom code only
Are you using some custom code attached to onEditCell or onKeyPressed events?