LenghtMenu Location

LenghtMenu Location

andrii.radkovskiiandrii.radkovskii Posts: 19Questions: 0Answers: 0
edited October 9 in Free community support

Hi to all. Who knows how to move a LenghtMenu to another location?
I've already moved Search, I'd like to put LengthMenu underneath.
Maybe someone already has a ready code?
Thanks.
live.datatables.net/gidariwo/5/edit
https://i.imgur.com/gXDXWMZ.png

Replies

  • allanallan Posts: 48,296Questions: 1Answers: 6,969 Site admin

    Two options - you could use the same method that you did for the search and create your own length input list. Then use page.len() to change the page length, similar to how you are using search().

    Alternatively use the dom option and some CSS to reposition the elements as you need.

    Allan

  • andrii.radkovskiiandrii.radkovskii Posts: 19Questions: 0Answers: 0

    @allan Thanks!

Sign In or Register to comment.