responsive: true, not work with add tr
responsive: true, not work with add tr
![Massimo74](https://secure.gravatar.com/avatar/c3edef7ddae7012d91cb1ad146d6bc92/?default=https%3A%2F%2Fvanillicon.com%2Fc3edef7ddae7012d91cb1ad146d6bc92_200.png&rating=g&size=120)
hi I have a table with the addition of a row in the thead and a row for the totals in the footer and it all works regularly except for the fact that the "responsive: true" option does not work on these 2 lines and when I expand and shrink the columns these lines become misaligned ...
This discussion has been closed.
Replies
Hi @Massimo1974 ,
I'm guessing it's because you've added that header and footer after the table was initialised so Datatables isn't aware of it. We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin
http://live.datatables.net/tecalabo/1/edit
see the tread and the tfoot don't scroll
scrollX: true ????
but if you see it here it doesn't work
http://jsfiddle.net/0b6zytx1/
Responsive currently only supports a single row in the table header I'm afraid. That is a short coming that I'm aware of and we plan to address in future, although I'm not yet sure when.
Allan