Change to specific page via page number?

Change to specific page via page number?

majorchampmajorchamp Posts: 1Questions: 0Answers: 0
edited October 2010 in General
I have modified the pagination to show the 4 main buttons (first, prev, next, last) and then have an input box in between them that lets me enter a page value. Then onblur, I want to jump to that page.

I cannot, for the life of me, determine how to make it do this. A search on this site led me to this comment from 2009

"2. You could make use of the fnPageChange() plug-in API function: http://datatables.net/plug-ins/api#fnPageChange . This will let you enter in an integer number and jump to that page."

However, the API page has changed and the fnPageChange() is no longer a plugin, but built into the core datatables file. However, it only accepts the text strings "previous, next, last, or first".

What are my options to make this work?

Replies

  • iuliandumiuliandum Posts: 70Questions: 0Answers: 0
    see this
    http://datatables.net/forums/comments.php?DiscussionID=2233&page=1#Item_2
This discussion has been closed.