twenty
twenty copied to clipboard
Create record table virtualization with multiple tbody
Scope & Context
RecordTable
Current behavior
Rows are re-rendered when the tableRowIds state changes.
Expected behavior
We would like to create a system where only "pages" of n records are shown in multiple tbodys.
Ideas :
- use a familySelector on tableRowIdsState
- create a state to store an array of pairs of first and last row id of a "page" and then display those pairs in a tbody.
Do we want to create a separate tbody for creating a new row ? (see existing issues)