Column Resizing

Drag column borders to resize columns interactively.

ID
Name
Email
Department
Salary

100 rows · Drag column borders to resize

Enable resizing and add a drag handle to each header:

const { columnSizing } = useVirtualTable({
  data,
  columns,
  enableColumnResizing: true,
  columnResizeMode: 'onChange',
});

// Add resize handle to header:
<div
  onMouseDown={header.getResizeHandler()}
  style={{ cursor: 'col-resize' }}
/>
OptionTypeDefault
enableColumnResizingbooleanfalse
columnResizeMode’onChange’ | ‘onEnd''onChange’
columnSizingColumnSizingState
Powered by grishaLR
© 2026 virtualized-ui. All rights reserved.