Skip to main content

grid-pro.gridpro.deletecolumnstate

Home > @genesislcap/grid-pro > GridPro > deleteColumnState

GridPro.deleteColumnState() method

Deletes the saved column state for the current grid

Signature:

deleteColumnState(resetToDefault?: boolean): Promise<void>;

Parameters

Parameter

Type

Description

resetToDefault

boolean

(Optional) Whether to reset columns to their default configuration. Defaults to true.

Returns:

Promise<void>

Remarks

This removes the persisted column state from storage, allowing the grid to use default column configuration