简体   繁体   中英

How to get the values of a selected row in the Advanced DataGrid control in Flex?

How to get the values of a selected row in the Advanced DataGrid control in Flex ? thanks

'SelectedCells' property will help you here.

You can learn more on this at ' http://livedocs.adobe.com/flex/3/langref/mx/controls/AdvancedDataGrid.html#eventSummary '

Click any cell in the row to select the row. After the selection, selectedCells contains a single Object:

[{rowIndex:selectedRowIndex, columnIndex: -1}]

Hope that helps.

Ashine.

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM