jump to last page by default

jump to last page by default

karanitskaranits Posts: 9Questions: 0Answers: 0
edited May 2011 in General
HI, is there a way to jump to last page of the table by default, after load. I have seen that we ca use iDisplayStart , but i will not be able to know how many entries will be there in the table, so cant use it.

Replies

  • allanallan Posts: 61,716Questions: 1Answers: 10,108 Site admin
    You could call fnPageChange( 'last' ); ( http://datatables.net/api#fnPageChange ) just after initialising the table.

    Allan
This discussion has been closed.