Replace pagination numbers by custom text
Replace pagination numbers by custom text
Js000
Posts: 2Questions: 1Answers: 0
Hi Allan,
I need to replace the pagination numbers by custom text:
Instead of: 1, 2, 3 --> PageName1, PageName2, PageName3,...
Is there any way to display it in that way?
Thank you very much in advance,
J
This discussion has been closed.
Answers
You'd need to write a full custom paging plug-in. There are a few examples here that you could use as the basis for such a plug-in.
Perhaps an easier option would be to listen for the
draw
event and then just modify the paging buttons that DataTables draws.Allan
Thank you very much Allan for the clarification, I will give it a try then...
Regards,
J