Skip to content

GridColumnState

Since v0.1.1

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.applyColumnState(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://toolboxjs.com/llms-full.txt