feature request : custom lines to display
feature request : custom lines to display
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.
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.
This discussion has been closed.
Replies
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