Closed syafiq-dev closed 1 year ago
Hi,
Is there any way to change to the last page of a table by code. Such as.
var totalPage = myTable.getTotalPage() // go to last page myTable.page(totalPage)
I'm using the CE version by the way. Thank you!
You need to calculate, so it would be something like that. myTable.page(Matil.ceil(myTable.rows.length/myTable.options.pagination));
Hi,
Is there any way to change to the last page of a table by code. Such as.
I'm using the CE version by the way. Thank you!