≡
×
Plus
Manual
Examples
Reference
Download
Blog
Community
Support
Show all
Show all
Murphy
Posts: 4
Questions: 0
Answers: 0
February 2013
edited February 2013
in
DataTables 1.9
How to show all rows without pagination and return to pagination mode.
Replies
allan
Posts: 65,821
Questions: 1
Answers: 10,951
Site admin
February 2013
Set the page length to -1. Page length change plug-in: http://datatables.net/plug-ins/api#fnLengthChange
Allan
Murphy
Posts: 4
Questions: 0
Answers: 0
February 2013
Thank you. It works.
But how to set page length?
allan
Posts: 65,821
Questions: 1
Answers: 10,951
Site admin
February 2013
I don't understand - if it works, are you not setting the page length?
Murphy
Posts: 4
Questions: 0
Answers: 0
February 2013
No. I set rows length. If set e. g. 40, pagination bar leave as is.
allan
Posts: 65,821
Questions: 1
Answers: 10,951
Site admin
February 2013
I'm not understanding. If you set the pagination length to 40, it will show 40 entries per page. Does it not?
Murphy
Posts: 4
Questions: 0
Answers: 0
February 2013
Yes, it is not.
40 is not pagination length.
It's quantity of rows in table.
Do you understand me?
allan
Posts: 65,821
Questions: 1
Answers: 10,951
Site admin
February 2013
Not really - the plug-in I linked to changes the page length. The number of actual rows in the table is determined solely by the data you put into it.
Can you please link to a test case so I might be able to understand the problem.
This discussion has been closed.
Replies
Allan
But how to set page length?
40 is not pagination length.
It's quantity of rows in table.
Do you understand me?
Can you please link to a test case so I might be able to understand the problem.