Override the js function _numbers ( page, pages ) without modifying the orginal js library.
Override the js function _numbers ( page, pages ) without modifying the orginal js library.
debarshi
Posts: 6Questions: 3Answers: 0
What is the best way to over ride the js function _numbers ( page, pages ) without modifying the orginal js library.
datatable lib version : 1.10.7
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
There is no option for that - the
_numbers
method is a private and internal function that cannot be modified (or even seen) externally to the DataTables library.You would need to create a paging plug-in if that is what you want to do.
Allan
Hi Allan,
Thank you so much for your response.
Request you to please point me to a template which I can follow to create the plugin.
My main intention is to have full_numbers pagination like we had in v1.9 and previous versions with DataTable v1.10.7.
Link to the question - https://www.datatables.net/forums/discussion/28180/customize-pagingtype-full-numbers-of-v1-10-7-to-have-it-like-previous-versions#latest