aliry
aliry

Reputation: 822

Does ag-grid supports column virtualization?

Its specially important in scenarios with lots of columns which most of them are not in viewable area.

Upvotes: 2

Views: 7577

Answers (1)

wentjun
wentjun

Reputation: 42566

Yes, as stated on the documentation,

By default the grid uses virtualisation; a technique whereby the grid draws columns and rows as the user scrolls.

However, if you wish to disable column virtualization, you may choose to set the suppressColumnVirtualisation input property as true. You may refer to the column/row properties over here.

There may be 2 scenarios when you may wish to disable column virtualization.

1) Auto-sizing of all columns. This will ensure that all columns, and not just the columns which are rendered on the screen, will be resized.

2) Support for a11y. This is to prevent any potential issues for keyboard navigation and screen readers.

Upvotes: 8

Related Questions