I 'm using an editable spark DataGrid in Flex 4.6. How can I avoid TAB or ENTER key in a cell to move to next cell?
You should look at the focus manager Every component has this. I dont know what you would like to do when the user hits a tab. But, look for the following methods/properties, they might help you.
datagrid.focusManager.getNextFocusManagerComponent()
showFocusIndicator
I think you can do datagrid.focusManager.getNextFocusManagerComponent().getFocusManager().showFocusIndicator = false;
Just a guess. But, try to get the focusManager of the DataGrid and play around with it.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.