Its possible keep the select when the data comes from ajax?
Its possible keep the select when the data comes from ajax?
waswas69
Posts: 3Questions: 2Answers: 0
I need to use the pagination and while keeping the selections that come in an ajax request, Its possible?
Example:
Page one you select two rows, and then you call request ajax, and the page four of datatable you selec other two, and
you would have four rows. If you order the datatable by name you would keep the results
Thanks
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
You don't say, but I'm presuming that you are using
serverSide
? I presume that, since this issue wouldn't occur with client-side processing.With server-side processing the problem is that the client-side only retains the rows that are currently shown - that's the whole point of server-side processing, so the other rows aren't really selected on the client-side any more since they no longer exist on the client side.
A a few options:
Allan
oks thank