Welcome Guest Search | Active Topics | Sign In | Register

Tabbing in a Grid in Edit Mode Options
Stewart
Posted: Sunday, June 27, 2010 6:00:04 AM
Rank: Newbie
Groups: Member

Joined: 6/27/2010
Posts: 6
Hi,

Is it possible to tab from cell to cell while in edit mode of a grid. It doesn't seem to work but I am not sure if there is a setting I am missing.

Thanks,

Stewart.
eo_support
Posted: Sunday, June 27, 2010 8:15:28 AM
Rank: Administration
Groups: Administration

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

You should be able to tab out of a cell that is currently in edit mode. However once you tab out, the old cell exits edit mode and new cell is focused, but not in edit mode. You can press enter to enter edit mode.

Thanks!
Stewart
Posted: Sunday, June 27, 2010 5:40:05 PM
Rank: Newbie
Groups: Member

Joined: 6/27/2010
Posts: 6
Ok - that worked for text columns. Is there a way to get it working for custom columns with a drop down? Also is there a onfocus type event which would force it to work on a tab?
eo_support
Posted: Sunday, June 27, 2010 5:59:22 PM
Rank: Administration
Groups: Administration

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

It should work with custom columns with a drop down as well. However please keep in mind that you will not be able to use arrow key to change the selected items in the drop down for two reasons: 1. A cell having focus is not the same as the drop down inside it having focus. By default on the cell has focus, the drop down does not have focus; 2. You can code to have the drop down to get focus when the cell enters edit mode (inside on_begin_edit), however even if you do so, up/down arrow will still automatically move the current cell up/down instead of changing selected item.

As for your second question, yes, there is an onfocus event you can use. See this topic for more details:

http://www.essentialobjects.com/forum/postst3841_How-to-automatically-edit-an-cell-when-the-cell-receives-focus.aspx

Hope this helps.

Thanks!


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.