twenty icon indicating copy to clipboard operation
twenty copied to clipboard

Create record table virtualization with multiple tbody

Open lucasbordeau opened this issue 1 year ago • 0 comments

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)

lucasbordeau avatar Jan 17 '24 09:01 lucasbordeau