hidden datatable + scrollX = display issue
hidden datatable + scrollX = display issue
brightDark
Posts: 2Questions: 1Answers: 0
Hey,
I have a dataTable wrapped in an hidden div. Later on in my code this div will be displayed.
Everything looks fine, but when I enable scrollX the table width is broken.
Here an example of my problem:
http://jsfiddle.net/btg7jzjo/
Is there a way around this problem, or is it a bug??
edit: I use dataTables v1.10
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
looks like no one has a solution for this problem ?!?
If its really a bug, pls could someone official confirm that?
Use
columns.adjust()
when the table is made visible.There is an example and explanation, using jQuery UI tabs, here: http://datatables.net/examples/api/tabs_and_scrolling.html .
Allan