Pass rowHeight a function to size each row based on its node. Here, folders are 48px and leaves are 28px. Toggle and drag rows — the virtualized list recomputes offsets automatically.
rowHeight
Back to Demos