Skip to main content

grid-pro.statepersistence

Home > @genesislcap/grid-pro > StatePersistence

StatePersistence interface​

Represents a state persistence and its capabilities. Provides methods to set and get columns from the storage.

Signature:

export interface StatePersistence 

Methods​

Method

Description

deleteColumnState(persistColumnStateKey)

Deletes the column state for the given key.

getColumnState(persistColumnStateKey)

Returns the column state for the given key.

getFilterModel(persistFilterModelKey)

Returns the filter model for the given key.

saveColumnState(persistColumnStateKey, columnState)

Saves the column state for the given key.

saveFilterModel(persistFilterModelKey, filterModel)

Saves the filter model for the given key.