This repository has been archived by the owner on Oct 1, 2021. It is now read-only.
This repository has been archived by the owner on Oct 1, 2021. It is now read-only.
Can this be used for virtualized table rows? #105
Open
Description
A common use case on the web is data tables, using the <table>
element... but virtualized.
Can this be done using our implementation?
(Note: column auto-sizing seems basically impossible. All columns would have to be fixed width.)
I can see a few paths here:
- Try to hack it by creating a DOM structure that goes
table > virtual-scroller > tr
. This can only be done with DOM APIs; the parser will transform that intovirtual-scroller + table > tr
. If this can be made to work, we could consider making it easier to use somehow. - Assemble a virtualized-table using the same internal components we're currently using for virtual-scroller. Then, either:
- Consider shipping virtualized-table alongside virtual-scroller
- Change virtual-scroller's implementation in some way so that it can encompass both cases
- Wait until we expose the internal pieces (How to ship virtual-list-element.js dependencies? #27) and have people build virtualized tables from that.
This seems like an area ripe for exploration and hacking around.
Metadata
Assignees
Labels
No labels