responsive not work on tabs

responsive not work on tabs

UmbusUmbus Posts: 4Questions: 1Answers: 0

I have some tables inside tabs, but when I open one of the tabs, the resposive datatables does not work. Does anyone know how to fix the problem?
An excerpt from my code:
http://live.datatables.net/maxipixu/1/edit

Thank you

Answers

  • kthorngrenkthorngren Posts: 20,346Questions: 26Answers: 4,776

    The example code you have doesn't seem complete. Its not loading the responsive extension nor bootstrap.

    Since you have hidden tables when Datatables initializes you may need to use columns.adjust() to recalc the columns when the tab is activated. If this doesn't help please update your test case example to show the issue.

    Kevin

This discussion has been closed.