How to set "start" option on new Ajax draw
How to set "start" option on new Ajax draw
I have 3 tables containing various views of the same data. Each of these tables search and filter independently of each other, unless a custom checkbox is ticked to synchronize the tables' filters. I have this all working like needed except for synchronizing pagination.
Given the same filters, search and ordering for all three tables, how to I obtain a datatable's current page (or "start"?) and set the other tables so they display the same dataset position?
I'm not understanding how ajax.data can be used to do this. Btw, I am using dt 1.10 with serverSide processing.
Answers
serverSide set to true?
Yes, serverSide is set to true.
I force the Ajax call with .draw() on all 3 tables. It just seems there should be a way to pull the current dataset position from one table and set that position in the other two.
This sample keeps the second table in sync with the first table.
http://live.datatables.net/pikabivu/1/edit