Welcome Guest Search | Active Topics | Sign In | Register

GridItem.selectCell does not appear advance keyboard tab postion to this cell? Options
Tom K.
Posted: Wednesday, June 23, 2010 10:03:13 AM
Rank: Advanced Member
Groups: Member

Joined: 9/14/2009
Posts: 29
In my application based on an event, I first call GridItem.ensureVisible and then call Grid.selectCell on a particular TextBoxColumn which then puts this cell in edit mode. Our client is relying quite a bit on keyboard navigation and would expect, when the tab key is pressed, that focus would then move to the next cell to the right. However, the tab position is set somewhere else on the grid control so you do not advance to the next cell.

Is there another call I need to make in order to set the tab position to the selected cell?


Thank you very much,

Tom
eo_support
Posted: Wednesday, June 23, 2010 10:36:10 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

I am not exactly sure what you mean by "the tab position is set somewhere else". Do you mean that the Grid incorrectly selected another cell rather than the next cell?

Thanks!
Tom K.
Posted: Wednesday, June 23, 2010 10:47:58 AM
Rank: Advanced Member
Groups: Member

Joined: 9/14/2009
Posts: 29
Good Morning,

Yes, exactly; the wrong cell is selected NOT the next cell.

You press the tab key and you expect to leave the TextBoxColumn cell which would then take the TextBoxColumn cell out of edit mode and move you to the next cell. What happens is the selected cell stays in edit mode and, after a few tab key presses, you realize that the wrong cell was initially selected the first time the tab key is pressed.

I hope this helps.


Thanks,

Tom
Tom K.
Posted: Wednesday, June 23, 2010 10:59:17 AM
Rank: Advanced Member
Groups: Member

Joined: 9/14/2009
Posts: 29
This may be my issue, so no need to spend any time on looking into this.

The event I am going to use to trigger the row to become visible is a scanner event. Rigt now I am simulating this with a temporary button on the page which is of course getting the focus and is probably causing the issue. When I get the actual scanner event in place I'll re-try my implementation.


Thanks and sorry for not catching this first!

Tom
eo_support
Posted: Wednesday, June 23, 2010 11:18:52 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Not a problem. Please feel free to let us know if you have any more questions.

Thanks!
Tom K.
Posted: Wednesday, June 23, 2010 11:20:28 AM
Rank: Advanced Member
Groups: Member

Joined: 9/14/2009
Posts: 29
Will do...thanks again!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.