Open Febakke opened 9 months ago
Found by SSBs UU testing 🥇 Each row in our grid has a tbody. Based on HTML documentation a tbody is the main content of a table.
tbody
The HTML element encapsulates a set of table rows ( elements), indicating that they comprise the body of a table's (main) data. You can have multiple tbodybut they would typicly have their own headers. Indicating different sections in the table. [Â ]Â Basic tables should only have one tbody [ ] How flexible should our grids be? Are there a need to build complex tables with multiple tbody? Steps To Reproduce Go to a grid and inspect it See that all rows have their own tbody Additional Information No response olemartinorg commented 1 month ago Fixed in #2513, but this appears in the console now: Warning: validateDOMNesting(...): <tr> cannot appear as a child of <table>. Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser. :cry: See this for more info: https://github.com/facebook/react/issues/5652#issuecomment-164175731 What do you think, @adamhaeger @Magnusrm?
The
You can have multiple tbodybut they would typicly have their own headers. Indicating different sections in the table.
Go to a grid and inspect it See that all rows have their own tbody
No response
Fixed in #2513, but this appears in the console now:
Warning: validateDOMNesting(...): <tr> cannot appear as a child of <table>. Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser.
:cry:
See this for more info: https://github.com/facebook/react/issues/5652#issuecomment-164175731
What do you think, @adamhaeger @Magnusrm?
Description of the bug
Found by SSBs UU testing 🥇 Each row in our grid has a
tbody
. Based on HTML documentation atbody
is the main content of a table.