Skip to content

ColumnResizeDetail

Column resize event detail containing final pixel width.

grid.on('column-resize', ({ field, width }) => {
console.log(`Column ${field} resized to ${width}px`);
// Persist to user preferences
saveColumnWidth(field, width);
});
PropertyTypeDescription
fieldstringResized column field key.
widthnumberNew width in pixels.
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