Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Biju on Jan 21, 2009 05:13
open dhtmlx forum
Last cell selected.

Hi,

I see that the grid remembers the last focused cell while entering the grid.
Is there a way to stop this feature? I don't if you get my point. I shall explain
a bit more. Suppose I have two controls on a window. One edit box and a grid.
I normally tab from editor to the grid. Normally it will focus on the first cell.
Suppose this time I exit the grid when focus was on the fifth row 3rd cell.

I got back to the editor and tabbed off, this time focus is in the fifth row 3rd cell.
Am I right? I want focus to be always in the first row first cell as focus enters the grid.

thanks in advance..
Biju.



Answer posted by Support on Jan 21, 2009 06:03
>>Am I right?
Its depends on mode which you are using
If you have grid just as one more object on the page and not exec any special commands - grid will start tab from the last selection 
If you are using setExternalTabOrder  - the grid will always start tabbing from the first cell in first row

Working sample sent by email. 
Answer posted by Biju on Jan 21, 2009 20:39
Sorry, It did not reach me yet.

Thanks,
Biju
Answer posted by Support on Jan 22, 2009 02:09
The email was sent for sure, please check the Spam folder of your mail box, maybe it is there. 
If still not luck - please contact us directly at support@dhtmlx.com and provide any alternative email address
Answer posted by Biju on Jan 22, 2009 21:08
Thanks, I got it. Once again thanks.