|
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.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
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!
|
|
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?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
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.aspxHope this helps. Thanks!
|
|