Skip to content

GridColumnState

Complete grid column state for persistence. Contains state for all columns, including plugin-contributed properties.

// Save state
const state = grid.getColumnState();
localStorage.setItem('grid-state', JSON.stringify(state));
// Restore state
grid.columnState = JSON.parse(localStorage.getItem('grid-state'));
PropertyTypeDescription
columnsColumnState[]Array of column states.
AI assistants: For complete API documentation, implementation guides, and code examples for this library, see https://raw.githubusercontent.com/OysteinAmundsen/toolbox/main/llms-full.txt