Skip to main content

DataGridStateStoringBuilder Members

Provides methods that allow you to configure nested options of the client-side stateStoring object.

Constructors

Name Description
DataGridStateStoringBuilder(OptionsOwnerContext) For internal use only. Initializes a new DataGridStateStoringBuilder class instance.

Methods

Name Description
CustomLoad(RazorBlock) Specifies a function that is executed on state loading. Applies only if the type is 'custom'. Mirrors the client-side customLoad option.
CustomLoad(String) Specifies a function that is executed on state loading. Applies only if the type is 'custom'. Mirrors the client-side customLoad option.
CustomSave(RazorBlock) Specifies a function that is executed on state change. Applies only if the type is 'custom'. Mirrors the client-side customSave option.
CustomSave(String) Specifies a function that is executed on state change. Applies only if the type is 'custom'. Mirrors the client-side customSave option.
Enabled(JS) Enables state storing. Mirrors the client-side enabled option.
Enabled(Boolean) Enables state storing. Mirrors the client-side enabled option.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
Option(String, Object) Specifies an option by its name.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
SavingTimeout(JS) Specifies the delay in milliseconds between when a user makes a change and when this change is saved. Mirrors the client-side savingTimeout option.
SavingTimeout(Double) Specifies the delay in milliseconds between when a user makes a change and when this change is saved. Mirrors the client-side savingTimeout option.
StorageKey(JS) Specifies the key for storing the UI component state. Mirrors the client-side storageKey option.
StorageKey(String) Specifies the key for storing the UI component state. Mirrors the client-side storageKey option.
ToString() Returns a string that represents the current object. Inherited from Object.
Type(StateStoringType) Specifies the type of storage where the state is saved. Mirrors the client-side type option.
See Also