how can i put sDom to my Dom?

how can i put sDom to my Dom?

riqoriqo Posts: 2Questions: 0Answers: 0
edited October 2010 in General
For example:
i want put the [i - Information ] into tfoot, and [f - Filtering input ] to a existing div.
Need you help!

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    You can't put the info into the table itself (well you can using normal jQuery DOM manipulation, but not using sDom), likewise, because the existing DIV isn't under control of DataTables that can't be done either. However, you can simply move the element which DataTables has created into the DIV after DataTables has finished it's initialisation: http://api.jquery.com/category/manipulation/

    Allan
  • riqoriqo Posts: 2Questions: 0Answers: 0
    Thanks, Allan.
    I'll try it.
This discussion has been closed.