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. I have some custom code in the stage 2 of the on cell edit even . How can i fix this issue?? What might be the possible reasons for this behaviour??

As far as I can see , the tab order can be changed only if you directly call “selectCell” from onEditCell event
The tab key move focus to the cell next to selected one, so if you are changing focus in onEditCell handler it can change the next active cell.