Define TableTools Button outside of sDom

Define TableTools Button outside of sDom

kanchinikkanchinik Posts: 5Questions: 1Answers: 0
edited January 2014 in TableTools
Hello,

I have seen this question somewhere but I was still confused as to how to implement a tableTool's button outside of the sDom. I know I should be using fnInitComplete , but I don't know how to link it to my button. I have the following sDom currently , which puts the tableTools inside the table.
"sDom": "<'row'<'span4'<'dt_actions'>Tl><'span4 pull-right'f>r>t<'row'<'span3-tablespan8'i><'span5 pull-right'p>>",


I would really appreciate if you could show to me how to implement this outside of the sDom. Thanks for your help in advance!

Replies

  • allanallan Posts: 63,692Questions: 1Answers: 10,500 Site admin
    Have you tried doing it like this: http://datatables.net/release-datatables/extras/TableTools/alt_init.html ?

    Allan
  • kanchinikkanchinik Posts: 5Questions: 1Answers: 0
    Thanks Allan. I tried this and it worked just fine ! Appreciate it !
This discussion has been closed.