Skip to content

ColumnVirtualizationConfig

Configuration for horizontal (column) virtualization.

When enabled, only the columns visible in the viewport (plus an overscan buffer) are rendered to the DOM. This dramatically improves performance for grids with many columns (50+), as only a small subset of column cells exist at any time.

By default, virtualization auto-enables when the column count exceeds threshold. Set autoEnable: false to control activation manually.

new ColumnVirtualizationPlugin({
threshold: 20, // activate earlier than default
overscan: 5, // render 5 extra columns on each side
})
PropertyTypeDescription
autoEnable?booleanAuto-enable when column count exceeds threshold (default: true)
threshold?numberColumn count threshold for auto-enabling (default: 30)
overscan?numberExtra columns to render on each side for smooth scrolling (default: 3)
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