Home / AJAX

Sys.UI.DataView.initialSelectedIndex Property

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

Gets or set the initially selected index that the selectedIndex property will default to when data is loaded.

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_initialSelectedIndex();
MyDataView.set_initialSelectedIndex(value)

Parameters

Parameter

Description

value

The initially selected index.

Return Value

The initially selected index.

Exceptions

Exception type

Condition

Error.argumentOutOfRange Function

(Debug) An attempt was made to set the initialSelectedIndex value of the DataView object.

See Also

Other Resources

Language Reference