How can I start with the last page

How can I start with the last page

bataakbataak Posts: 10Questions: 1Answers: 0

Hi all,

I'm using server side processing, and I want to change my start page, but this code is not working:

table.fnPageChange('last');

Replies

  • allanallan Posts: 63,368Questions: 1Answers: 10,449 Site admin

    Can you link to the page showing the issue please.

    Allan

  • bataakbataak Posts: 10Questions: 1Answers: 0

    Hi Allan, sorry for my late reply. I'm using datatables 1.10.12, but fnPageChange function deprecated since 1.10. How can I fix my issue instead using this function? Actually I want to see always last page with ascending order.

    Thank you

  • allanallan Posts: 63,368Questions: 1Answers: 10,449 Site admin

    page() is the equivalent new API method.

    Beyond that, I'd need a link to the page showing the issue.

    Allan

  • bataakbataak Posts: 10Questions: 1Answers: 0

    Thanks for your reply.

    But I could not work properly.

  • allanallan Posts: 63,368Questions: 1Answers: 10,449 Site admin

    I'm afraid there isn't any other help I can offer without a link to a page showing the issue as I noted above in that case.

    Allan

This discussion has been closed.