Using "Search_Length" outside the Datatables Table

Using "Search_Length" outside the Datatables Table

friedfried Posts: 2Questions: 0Answers: 0
edited April 2012 in General
Hi @ all

I'd like to use the "Search_Length" / "Results per page" Dropdown Menu Outside the Datatables Table.
I trying it with sDom, but it does not work.

I'd like to use it on the top of the page at the my "#search_box" div.
I hope anyone can help me : )

Thanks,
greets from Austria,
Stefan

Replies

  • allanallan Posts: 63,542Questions: 1Answers: 10,476 Site admin
    Hi Stefan,

    Have a look at this plug-in - http://datatables.net/plug-ins/api#fnLengthChange - it allows you to change the paging length from any control you want.

    Allan
  • friedfried Posts: 2Questions: 0Answers: 0
    Hi Allan!

    Thanks for your Info and the Link.
    I'm found this solution @ the forum

    It works!

    http://datatables.net/forums/discussion/4177/changing-idisplaylength-with-the-api/p1

    Thanks again,
    Stefan
This discussion has been closed.