User selectabele number of rows
User selectabele number of rows
Hi All,
I have "aLengthMenu": [[10, 20, 25, 50, -1], [10, 20, 25, 50, "All"]], defined for my datatable setup.
I have few users table users using this table. Users are authenticated and have a database storing the user preferences..
I have been requested to change the default number of rows per user and this information shall come from the user preferences database entry.
My question is there a way to make the default number of rows from 10 to any one of the other values?
Please let me know and thank you for this wonderful plug-in!
Nikke
I have "aLengthMenu": [[10, 20, 25, 50, -1], [10, 20, 25, 50, "All"]], defined for my datatable setup.
I have few users table users using this table. Users are authenticated and have a database storing the user preferences..
I have been requested to change the default number of rows per user and this information shall come from the user preferences database entry.
My question is there a way to make the default number of rows from 10 to any one of the other values?
Please let me know and thank you for this wonderful plug-in!
Nikke
This discussion has been closed.
Replies
"iDisplayLength": n
Hope this will help someone else too! :)
Nikke