Home / AJAX

Sys.UI.DataView.data Property

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

Gets or sets the bound data (JavaScript object or array) to be rendered using the template.

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_data();
MyDataView.set_data(value)

Parameters

Parameter

Description

value

The data to view.

Return Value

The data to view.

See Also

Other Resources

Language Reference