DataSet.selectedIndex

Availability

Flash Player 7.

Edition

Flash MX Professional 2004.

Usage

dataSetInstance.selectedIndex

Description

Property; specifies the selected index in the collection. You can bind this property to the selected item in a DataGrid or List component, and vice versa. For a complete example that demonstrates this, see Creating an application with the DataSet component.

Example

The following example sets the selected index of a DataSet object (user_ds) to the selected index in a DataGrid component (user_dg).

user_ds.selectedIndex = user_dg.selectedIndex; 

Flash CS3