Can i customize show entries List Box and provide Input Box.

Can i customize show entries List Box and provide Input Box.

SunilgoelSunilgoel Posts: 48Questions: 19Answers: 0

Hi Allan.
Currently dataTables shows show entries 10,25,50,100 , that is okay and do not want to remove this , in addition i want to provide input box where i can put no of rows to be display . can i do this.

Regards.
Sunil

Answers

  • allanallan Posts: 61,972Questions: 1Answers: 10,160 Site admin

    Hi Sunil,

    There isn't a built in option for that, however it is quite possible to do - basically you just need an input element and call the page.len() method from its keyup event handler (or possibly wait for a return key press).

    I can put an example of that together for you if you like?

    Allan

This discussion has been closed.