Proper way of placing TableTools buttons?

Proper way of placing TableTools buttons?

andrzejandrzej Posts: 3Questions: 0Answers: 0
edited March 2012 in TableTools
After the DOM is ready, I'm using:

[code] $('#tableToolsButtons').append($('.DTTT_container')); [/code]

to change the placement of TableTools buttons. Is it a proper way to do this?

Replies

  • allanallan Posts: 61,864Questions: 1Answers: 10,136 Site admin
    That's one option. Two other options off the top of my head:

    1. Use sDom to place the element somewhere within the DataTables controlled area
    2. Use the .dom.container property of the TableTools instance: http://datatables.net/release-datatables/extras/TableTools/alt_init.html .

    Allan
  • andrzejandrzej Posts: 3Questions: 0Answers: 0
    Thanks!
This discussion has been closed.