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.
Example
Section titled “Example”new ColumnVirtualizationPlugin({ threshold: 20, // activate earlier than default overscan: 5, // render 5 extra columns on each side})Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
autoEnable? | boolean | Auto-enable when column count exceeds threshold (default: true) |
threshold? | number | Column count threshold for auto-enabling (default: 30) |
overscan? | number | Extra 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