ResetReset*
*



Contents  *



Index  *Topic Contents
*Previous Topic: Methods

Reset

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

Syntax

dataobj.Reset

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:

dataobj.DataURL = Dataobj.DataURL
dataobj.Reset

After the Reset method is invoked, the browser will redisplay the data if necessary.

See also Filter, Sort


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.