table with UI theme in second tab got wrong(smaller) size
table with UI theme in second tab got wrong(smaller) size
Hi,
I have 2 tables using UI Theme, each exists in a JQuery UI Tab. The problem I have is, no matter which tab is default, the table in another tab always has wrong size, which is too small to fill the tab.
I think I need to use fnAdjustColumnSizing() api to fix the problem, as in the example: http://datatables.net/examples/api/tabs_and_scrolling.html, but still didn't get it working. The example use html data source, do I have place fnAdjustColumnSizing() differently because the tables use ajax data source?
Thank you!
I have 2 tables using UI Theme, each exists in a JQuery UI Tab. The problem I have is, no matter which tab is default, the table in another tab always has wrong size, which is too small to fill the tab.
I think I need to use fnAdjustColumnSizing() api to fix the problem, as in the example: http://datatables.net/examples/api/tabs_and_scrolling.html, but still didn't get it working. The example use html data source, do I have place fnAdjustColumnSizing() differently because the tables use ajax data source?
Thank you!
This discussion has been closed.
Replies