How to use fnDisplayStart in DataTables v1.10.7
How to use fnDisplayStart in DataTables v1.10.7
maceric
Posts: 2Questions: 1Answers: 0
Hello, I am a newbie for DataTables. And I searched a lot of times about fnDisplayStart.js
plugin.
But it is deprecated and can be used only with DataTables 1.9 as I tested. Actually, if I use $(selector).dataTable()
, it (fnDisplayStart) works fine.
But I don't want to use this, I want to use $(selector).DataTable()
.and all plug-ins only work with DataTables 1.9. :'(
So can you guide me some?
Thanks in advance,,
This discussion has been closed.
Answers
Use
page()
to set the page in 1.10. There is currently no option to set a start point to a random row - it is all page based in 1.10.Allan
I already used it.
for example :
var tb = $("#list").DataTable();
tb.page(2).draw(false)
it doesn't work. But, if I use with this paramtb.page('next').draw(false)
it works.Note: I use with ajax that response data from server.
Seems to work okay for me: http://live.datatables.net/xoferopo/1/edit .
Can you please link to a test case showing the issue so it can be debugged.
Allan