Home / AJAX

Sys.UI.DataView.selectedIndex Property

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

Gets or sets the index of the currently selected item.

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_selectedIndex();
MyDataView.set_selectedIndex(value)

Parameters

Parameter

Description

value

The currently selected index.

Return Value

The currently selected index.

See Also

Other Resources

Language Reference