Custom table Information

Custom table Information

gauravguptaingauravguptain Posts: 2Questions: 0Answers: 0
edited February 2011 in General
Hey,

Is there any way to show custom table information.
For example, instead of "Showing 1 to 8 of 11 entries" I want "Page 1 of 2".

Please help.
Thanks

Replies

  • allanallan Posts: 63,761Questions: 1Answers: 10,510 Site admin
    You can use fnInfoCallback ( http://datatables.net/usage/callbacks#fnInfoCallback ) to customise the text shown in the information element. You'll need to use the input parameters to calculate the pages, but that should relatively straight forward.

    Allan
This discussion has been closed.