


The TableVirtuoso component works just like Virtuoso, but with HTML tables. The layout and item sizing is controlled through CSS class properties, which allows you to use media queries, min-width, percentage, etc. The VirtuosoGrid component displays same sized items in multiple columns. The groupContent callback receives the zero-based group index as a parameter.

In addition the itemContent property, the component requires an additional groupContent property,.Instead of totalCount, the component exposes groupCounts: number property, which specifies the amount of items in each group.įor example, passing will render two groups with 20 and 30 items each.The GroupedVirtuoso component is a variant of the "flat" Virtuoso, with the following differences: Import * as React from 'react' import * as ReactDOM from 'react-dom' import ReactDOM.
