showing page x of xx pages

showing page x of xx pages

sayid87sayid87 Posts: 3Questions: 0Answers: 0
edited March 2012 in Bug reports
thanks for your datatables tools i really love it..i can get much money with your datatable for developing my clients website. i would like to donate you someday :D

but some of my client asking me to show "page x of xx pages". can datatables do that?? if can, can you tell me how to customize it?

i'm waiting for your fantastic reply..sorry for my bad english..i'm indonesian...lol..:P
thank you for helping me before.. :D

Replies

  • allanallan Posts: 63,689Questions: 1Answers: 10,500 Site admin
    Indeed it can - use fnInfoCallback with http://datatables.net/plug-ins/api#fnPagingInfo to print out your own information message.

    Allan
  • sayid87sayid87 Posts: 3Questions: 0Answers: 0
    woow...that is so cool...!!
    but you know..what you gave me it's just an Alert..
    how can i "write" it below the text "showing X entries from XX entries" ??

    oh and please give me example code how to combining with DOM positioning...because i have been thinking about this link http://datatables.net/release-datatables/examples/basic_init/dom.html

    thank you very much sir..:D
  • allanallan Posts: 63,689Questions: 1Answers: 10,500 Site admin
    The demo code for the paging info API plug-in is just an alert yes. You would use the information given to you form the plug-in to create the string needed and that is applied in fnInfoCallback.

    If you'd like me to write a demo of this for you, please hit up the support page: http://datatables.net/support - 1 hour would be fine for this.

    Allan
  • sayid87sayid87 Posts: 3Questions: 0Answers: 0
    oh ok sir...thx u very much..:D
    (i'll better saving the money though..lol)
This discussion has been closed.