question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I am currently trying to find a way to use one of your components to render table rows (specifically using material ui).

Here is the general idea of what I’m aiming for

<Table>
    <TableHead>...</TableHead>
    <TableBody>
        <Virtuoso ... />
    </TableBody>
</Table>

however I see the issue is that your Virtuoso component renders a few divs I’m assuming to track height, number of items in view, etc.

Maybe there is a way we can pass our own component as a prop to render as a parent element? something={TableBody}?

I’m essentially asking if there is a good way to prevent this kind of markup below?

...
<tbody>
    <div ...>
        <div ...>
            <tr>
...

Let me know what else I can provide. I appreciate what you have done so far!

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:8
  • Comments:26 (10 by maintainers)

github_iconTop GitHub Comments

9reactions
petyosicommented, Jan 22, 2022

Everyone, v2.5.0 includes TableVirtuoso which works with HTML Tables, MUI Table and React Table. You can start from the example here: https://virtuoso.dev/hello-table/.

If something does not work as expected, please open a new issue with repro.

Cheers,

5reactions
piecykcommented, Feb 15, 2021
Read more comments on GitHub >

github_iconTop Results From Across the Web

Table Support - Crossword Clue Answers
The crossword clue Table support with 3 letters was last seen on the June 14, 2022. We think the likely answer to this...
Read more >
table support - Amazon.com
Kaupuar Metal Adjustable Legs for Table/Bed and Sofa/Furniture Cabinet Foot Legs, Set of 2, Heavy Duty Bed Center Frame Slat Support Leg 5...
Read more >
TABLE SUPPORT crossword clue - All synonyms & answers
All solutions for "Table support" 12 letters crossword clue - We have 3 answers with 3 to 7 letters. Solve your "Table support"...
Read more >
Table support - crossword puzzle clue
Table support is a crossword puzzle clue that we have spotted over 20 times. There are related clues (shown below). Referring crossword puzzle...
Read more >
Table Brackets - Folding Table Supports and Decorative ...
Folding brackets allow you to create a table you can pack up and move with ease, while more decorative steel leg supports are...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found