Hi @Krish1980, thanks for the reply, I agree with what you’re saying. When content is laid out in a table, it should be a table, it’s what it is! Generally speaking I always stick to this principle.
The only reason I was swaying from this was the as I build from mobile upwards, I’d need to strip all the table
display: styles off every table, thead, tbody, tr, th, td. Instead setting them to block for example. Then in a media query, add them all again for 600px+.
…but then again, with the dropdown/expandable row, it’s complex so it probably is best to got with a table.
A small issue I may have is, controlling the
colspan‘s. As they’ll change depending on what
table-cell‘s are hidden.