table with UI theme in second tab got wrong(smaller) size

table with UI theme in second tab got wrong(smaller) size

gpanggpang Posts: 18Questions: 0Answers: 0
edited July 2012 in General
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!

Replies

  • gpanggpang Posts: 18Questions: 0Answers: 0
    No question now, I didn't add scrolling. The question becomes how to add tabs without scrolling, and keep the size? Maybe I should open a new discussion for this. Thanks in advance.
This discussion has been closed.