Adding a button to the table header

Adding a button to the table header

perrierismperrierism Posts: 2Questions: 0Answers: 0
edited September 2010 in General
I need to add a few buttons inside the table header. That is, in the same div as the sLengthMenu and the bFilter controls... is this possible?

Cheers

Replies

  • cdaiglecdaigle Posts: 57Questions: 0Answers: 0
    This should be possible using sDom. You can have it create a div right inside the top toolbar, then modify the div as you need. See this page for more info http://www.datatables.net/usage/options#sDom and this one for an example: http://datatables.net/examples/advanced_init/dom_toolbar.html .

    Hope this helps.
  • perrierismperrierism Posts: 2Questions: 0Answers: 0
    Thank you! Exactly what I need.
This discussion has been closed.