Tabs With Datatables

Tabs With Datatables

yuval613yuval613 Posts: 5Questions: 0Answers: 0
edited September 2013 in General
Hi,

I noticed this was asked a few times but everywhere I checked I couldn't get anything to work properly. Can anyone give a complete newbie like me a quick rundown of what exactly is needed in order to get a table with tabs like the one here: http://datatables.net/examples/api/tabs_and_scrolling.html
I mean, do I need to have additional files to the ones in datatables?
How should the code look like?
Please help!
Thanks

Replies

  • jhcomputejhcompute Posts: 26Questions: 0Answers: 0
    Hello,

    I have not used this in datatables, but in webpages you must include this http://jqueryui.com/tabs/ to use the tabs. The Preamble is well documented as to what would be needed for datatables to work properly.

    Right click on the example and view the page source to get an idea of what it takes and you will see that jquery tabs needs to be included.

    Cheers...
  • yuval613yuval613 Posts: 5Questions: 0Answers: 0
    Hi,

    Thanks for the answer. I pretty much copied the code from the tabs and scrolling page and this is what I have:
    http://fx-bar.com/brokers.html

    The problem is, it does not switch from tab to tab and it is not sortable... How can This be fixed? Am I missing other files?
  • jhcomputejhcompute Posts: 26Questions: 0Answers: 0
    When I checked your link it switched from tab to tab and sorted also.

    Cheers...
This discussion has been closed.