feature request : custom lines to display

feature request : custom lines to display

grobobgrobob Posts: 13Questions: 0Answers: 0
edited March 2009 in General
Hi Allan,

Another small feature request.
It could be nice to have a custom parameter to set the different "numbers of lines" displayed in the select.
ie : sDisplayChoices = "10,25,50,100" (default values)

seem not to be hard to do, nor cost time to process by javascript engine

Why i request that ?
I don't want user can request 100 lines in my ajax process.

It's not a high priority request. I can delete the "100" options after rendering with jquery, or delete it directly inside the .js sourcecode for the moment.

Replies

  • allanallan Posts: 61,446Questions: 1Answers: 10,054 Site admin
    Hi grobob,

    This is already possible using the oLanguage.sLengthMenu parameter ( http://datatables.net/usage#language ). Simply replace '_MENU_' with whatever select menu you want.

    Regards,
    Allan
  • grobobgrobob Posts: 13Questions: 0Answers: 0
    ooouuuuuppppsssssss sorry... and... thank you :)
This discussion has been closed.