Export (0) Print
Expand All

Reset Method

Causes the control to filter or sort its data based on new settings.

Syntax

TDC.Reset()

Return Value

No return value.

Example

When Reset is called, all the data is filtered and sorted according to the settings of the filter and sort properties. A typical use of the Reset method would be to specify a new Sort or Filter in script in response to a user action. Data will only be fetched again if either DataURL has been changed or if the data has changed since the last Reset. Note that setting DataURL to itself is viewed as a change, so you can force a refetch of the data from script with the following code. After the Reset method is invoked, the browser will redisplay the data if necessary.


dataobj.DataURL = Dataobj.DataURL;

dataobj.Reset();

Applies To

TDC

See Also

Community Additions

ADD
Show:
© 2014 Microsoft