ITotalPages display

ITotalPages display

rpaschrpasch Posts: 2Questions: 0Answers: 0
edited July 2012 in General
I'm trying to use iTotalPages (via $.fn.dataTableExt.oApi.fnPagingInfo) variable somehow in my oLanguage.sInfo text to show total pages available; is there a way to do this w/o modifying jquery.dataTable.js ?

Thanks.

Replies

  • allanallan Posts: 63,541Questions: 1Answers: 10,476 Site admin
    Do you mean this plug-in: http://datatables.net/plug-ins/api#fnPagingInfo ?

    You can use http://datatables.net/ref#fnInfoCallback to manipulate the information string (and you likely won't need the plug-in either, since the parameters are all passed into the method).

    Allan
  • rpaschrpasch Posts: 2Questions: 0Answers: 0
    My oversight.

    Thanks so much!
This discussion has been closed.