Home / AJAX

Sys.UI.DataView.selectedData Property

RSS
Modified on 2009/11/14 19:13 by Administrator Categorized as Uncategorized

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

NoteNote:

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

Language Reference