User selectabele number of rows

User selectabele number of rows

NikkeNikke Posts: 8Questions: 0Answers: 0
edited September 2013 in General
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

Replies

  • NikkeNikke Posts: 8Questions: 0Answers: 0
    Oops Got the answer to my question.

    "iDisplayLength": n

    Hope this will help someone else too! :)

    Nikke
This discussion has been closed.