Datagrid Component
The default behavior of editing a cell in a Flex DataGrid is such that if you hit the enter key its moves to the next cell down, and tab moves to the next cell to the right.If you want it so that when you hit tab or enter, that it just commits that current cell and stays on that row in uneditted mode you’ll want to combine callLater() and the itemEditEnd event.
<mx:Script> <mx:DataGrid editable=”true” sortableColumns=”false” id=”dg” itemEditEnd=”callLater(maintainFocus)” id=”dg”> |
10:34 AM
|
Labels:
Flex Controls Samples,
Flex DataGrid Samples,
Flex Samples
|
This entry was posted on 10:34 AM
and is filed under
Flex Controls Samples
,
Flex DataGrid Samples
,
Flex Samples
.
You can follow any responses to this entry through
the RSS 2.0 feed.
You can leave a response,
or trackback from your own site.
0 comments:
Post a Comment