Gurtnamona
Gurtnamona

Reputation: 21

Programmatically set edited cell on Spark Datagrid

What is the equivalent of editedItemPosition for the Spark datagrid?

Upvotes: 2

Views: 1634

Answers (2)

trung
trung

Reputation: 1114

To programmatically set the editing cell

dataGrid.startItemEditorSession(rowIndex, columnIndex)

To retrieve the editing cell

dataGrid.editorColumnIndex
dataGrid.editorRowIndex

More details: http://help.adobe.com/en_US/flex/using/WS0ab2a460655f2dc3-427f401412c60d04dca-7ff3.html

Upvotes: 3

Nate
Nate

Reputation: 2936

Try these properties :

editorColumnIndex="0"
editorRowIndex="0"

Upvotes: -1

Related Questions