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.
Example
Section titled “Example”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`); }});Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
field | string | Reset column field key. |
width | number | undefined | Original configured width in pixels, or undefined if auto-sized. |
See Also
Section titled “See Also”ColumnResizeDetailfor the resize-in-progress event
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