Home / AJAX

Sys.UI.DataView.contexts Property

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

Gets an array of TemplateContext objects within the DataView object.

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_contexts();

Parameters

Parameter

Description

value

An array of TemplateContext objects.

Return Value

An array of TemplateContext objects (one for each item).

Remarks

The return type can be used to access both the data item, and the corresponding UI elements in the rendered UI.

See Also

Other Resources

Language Reference