Moving the element outsite of the table

Moving the element outsite of the table

pni8acpni8ac Posts: 3Questions: 0Answers: 0
edited November 2011 in DataTables 1.8
Hi,

I want to put the search textbox and the number of item display in a div that already exist.
I tried using this:
[code]'fnDrawCallback': function() {
$('.dataTables_filter').appendTo($('#options'));
}[/code]
But when I type something in the textbox, I lose focus on it

Replies

  • pni8acpni8ac Posts: 3Questions: 0Answers: 0
    To be honnest, if I could write the input, and than link it to the datatable, it would be ever more awesome!
  • fbasfbas Posts: 1,094Questions: 4Answers: 0
    you can use your own input box and call fnFilter with the input as text is changed or user hits enter, etc.

    you can take out the default filter in sDom
  • pni8acpni8ac Posts: 3Questions: 0Answers: 0
    And what about pagination and number of element by page?
This discussion has been closed.