Share via


Sys.UI.DataView.autoFetch Property

Gets or sets a boolean value that indicates whether data should be retrieved immediately from a data source when the page loads and when either the provider is changed or the fetch operation is changed.

Note

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_autoFetch();
MyDataView.set_autoFetch(value)

Parameters

Parameter

Description

value

true if the data should be retrieved immediately from a data source when the page loads, otherwise false.

Return Value

true if the data should be retrieved immediately from a data source when the page loads, otherwise false.

Remarks

The default value is false.

See Also

Other Resources

Sys.UI.DataView Class

Language Reference