Default entries per page
Default entries per page
I would like to set number of default entries per page but would not like to use combobox for that or any user input. I would like that it is fixed in configuration. I have looked at code and it seems to me that I would have to extend DataTables and duplicate code which is otherwise in combobox onchange event handler. Is there a simpler way?
This discussion has been closed.
Replies
I think what you want can be done in DataTables no problem here:
1. Change number of entries per page: iDisplayLength - http://datatables.net/usage/options#iDisplayLength
2. Disable user selectable length changes: bLengthChange - http://datatables.net/usage/features#bLengthChange
Regards,
Allan