Share via


Sys.UI.DataView.selectedData Property

Gets the data item corresponding to the current selectedIndex of the DataView control.

Note

To get property values for client API properties, you must call the property accessor method that is named with the get_ prefix. For example, to get a value for a property such as cancel, you call the get_cancel method.

var a = MyDataView.get_selectedData();
MyDataView.set_selectedData(value)

Parameters

Parameter

Description

Value

The data that is currently selected, or null if none.

Return Value

The data that is currently selected, or null if none.

See Also

Other Resources

Sys.UI.DataView Class

Language Reference