Show loading hover table
Hi guys i added a div into table to show loading when the table is waiting of ajax resolve the promise,
But I have an error of react "<div> cannot appear as a child of <table>"
This is error because is a div inside of table instead <tr>, but i need to lock table while is loading, any idea?


3 Replies
like-gold•3y ago
Our strategy is to render the loader OR the table, not the loader inside the table.
reduced-jadeOP•3y ago
Correct, the idea is the loader hover the table, but i do that for get the 100% widht & heigth
how i can do that if the div are outside of table?
Actually my idea is to use the :after element of css,
But with JSX elements, and I don't know how to apply it correctly
Got it
reduced-jadeOP•3y ago
