Removing top/bottom toolbar divs?

Removing top/bottom toolbar divs?

Lone ShepherdLone Shepherd Posts: 11Questions: 0Answers: 0
edited August 2010 in General
I have a very simple datatables setup, right now -- no pagination, no filtering, etc. so the top/bottom toolbars are superfluous.

Right now I've just got display:none in the css, but I was wondering if there was an option to remove those elements completely?

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Yes indeed, you can use sDom: http://datatables.net/usage/options#sDom

    If all you want is the table, just set the parameter to "t".

    Allan
  • Lone ShepherdLone Shepherd Posts: 11Questions: 0Answers: 0
    Thanks allan, I saw that option but was having some trouble making sense of it.

    I'll take another look, thanks again!
This discussion has been closed.