Dynamically Set the iDisplayLength

Dynamically Set the iDisplayLength

rasikowrasikow Posts: 20Questions: 0Answers: 0
edited December 2010 in General
Hi all,

I need to set the Pagination length dynamically. For example, by default pagination length is 10. But we can change that length by setting like this "iDisplayLength: 25".
But my requirement is once i select the length as 10, it should take that same length whenever i login. if i change the length as 25 / 50, then it should take that length. so i wanted to set the "IDisplayLength" dynamically whenever i select the pagination length. please help me to resolve this

- Gnaniyar

Replies

  • allanallan Posts: 63,512Questions: 1Answers: 10,472 Site admin
    This plug-in should help: http://datatables.net/plug-ins/api#fnLengthChange

    Allan
This discussion has been closed.