To change the number of records shown on the first draw you can use iDisplayLength - please see the documentation: http://datatables.net/usage#iDisplayLength . You can also use -1 (in v1.5) as the length to display all records.
To add to this conversation. If bStateSave is set to true, then this value (iDisplayLength) is only used when the cookie does not exist. I was setting this value and nothing was happening, then I realized it had to do with the value being saved in the cookie.
Replies
To change the number of records shown on the first draw you can use iDisplayLength - please see the documentation: http://datatables.net/usage#iDisplayLength . You can also use -1 (in v1.5) as the length to display all records.
Allan
- Gnaniyar Zubair