Skip to content

ColumnResizeResetDetail

Column resize-reset event detail.

Fired when a user-resized column is restored to its original configured width (e.g., via the column header context menu “Reset width” action). The width field reflects the column’s __originalWidth and may be undefined if the column was originally auto-sized.

grid.on('column-resize-reset', ({ field, width }) => {
if (width === undefined) {
console.log(`Column ${field} restored to auto-size`);
} else {
console.log(`Column ${field} restored to ${width}px`);
}
});
PropertyTypeDescription
fieldstringReset column field key.
widthnumber | undefinedOriginal configured width in pixels, or undefined if auto-sized.
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