[Resolved] fnPageChange doesn't works properly

[Resolved] fnPageChange doesn't works properly

F2000F2000 Posts: 6Questions: 0Answers: 0
edited February 2012 in Bug reports
Hi everyone,

According to the documentation:
{string|int}: Paging action to take: "first", "previous", "next" or "last" or page number to jump to (integer), note that page 0 is the first page.

"oTable.fnPageChange(0)" should work.

Or I get this error "DataTables warning: Unknown paging action: 0".

Any ideas ?

Thanks.

Replies

  • allanallan Posts: 63,689Questions: 1Answers: 10,500 Site admin
    Are you using DataTables 1.9.0? The documentation on the site refers to the current stable version (1.9.0 atm) and this ability to take an integer was added during the 1.9 development.

    Allan
  • allanallan Posts: 63,689Questions: 1Answers: 10,500 Site admin
    I should say that another part of the 1.9 development was to be able to version documentation. Unfortunately this isn't retrospective (since all those pervious releases are already done), but going forward all releases will have their own documentation that can be referred to for each version.

    Allan
  • F2000F2000 Posts: 6Questions: 0Answers: 0
    edited February 2012
    I just thought about it. I don't upgraded my version..

    Thanks allan, I'll do it :)

    Edit: That's work.
This discussion has been closed.