Skip to content

dvlist

DsVirtualList is a virtual list with variable row heights: only the rows in view are rendered, and each row is measured when it mounts.

Demos

Basic

Rows of different heights, unknown until they mount. Scroll to index and Scroll to key jump to a row.

Random heights

Add rows at the start or the end, and change the height of the rows in view or of every row.

Keeping selected rows

While text is selected, rows scrolled out of view stay mounted, so the selection and copying survive scrolling. Click Select text in row 2, then Scroll to row 1000.

Virtual on and off

With virtualization off every row is rendered, and the row at the top of the view stays in place.