Dropdown selector of records per page.
Dropdown selector of records per page.
![ravalos](https://secure.gravatar.com/avatar/5be4b3bc89bb629bf7c62a48cb180008/?default=https%3A%2F%2Fvanillicon.com%2F5be4b3bc89bb629bf7c62a48cb180008_200.png&rating=g&size=120)
On the top left of my DataTable I have the buttons I need and on the top right the search box just the way I want it.
And on the bottom left I have the registration indicators and on the right the paging buttons. So far everything perfect and no problem.
However, I can't seem to get the dropdown selector of records per page. How could I get it to appear preferably above the table?
Thank you so much.
Ramon
Answers
You can use the new
layout
, released in DataTables 2.0 for that. There are several examples that should get you going, please see here.If that doesn't help, we're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Colin
Also, have a look at this FAQ which specifically answers your question.
If you show your code (the forum rules do require a test case be provided), I can show how to modify is as needed. Likely it will be:
or something similar.
Allan