I got the answer add eventlistenet on the button keyFocusChange event and do the following
event.preventDefault(); grid.invalidateDisplayList(); editGrid.editedItemPosition = {rowIndex: 0, columnIndex:1} Thanks ilikeflex --- In flexcoders@yahoogroups.com, "Rajan" <ilikef...@...> wrote: > > Hi > > I am sure most of the devlopers must have seen this sample > > http://blogs.adobe.com/aharui/DataGridMultiFieldEditor/DataGridMultiFieldEditorTest.swf > > Challenge: > n the sample, use keyboard to tab the complete swf. After all the cell > editors and button have recieved the focus atleast once then i noticed then > focus goes only on buttons and one cell editor (location: last row + last > column). Why does it not goes to first cell editor( location: first row + > first column). Can you give any pointer how to make focus work?? > > I tried couple of options like > 1. > grid.editedItemPosition = {rowIndex: 1, columnIndex: 1}; > > 2. > this.focusManager.setFocus(editGrid); > editGrid.editedItemPosition = {rowIndex: 1, columnIndex: 1}; > > But none of them works..Any pointer will be highly apprecaited. >