[URGENT!!!] Data Lost when i go to Next Page(in paginated dataTable).

[URGENT!!!] Data Lost when i go to Next Page(in paginated dataTable).

ping_skpping_skp Posts: 3Questions: 0Answers: 0
edited February 2012 in DataTables 1.9
I have to perform an operation after I select multiple items on different Pages of Paginated Table.
i.e, I select some items in Page-1...Then go to Page 2 and select some items..Then perform SAVE/ADD operation on all the options I selected in Page1 and Page2..

But, when I am doing the SAVE/ADD operation on Page 2, it takes the values that are Selected on Page 2 only.

NOTE: I know the question is hard to understand, but I need help urgently. I explained the problem the best way I could!

Replies

  • John ArcherJohn Archer Posts: 56Questions: 1Answers: 0
    Well, if you go to page 2 the selected element is removed from the DOM so you have no information what you selected before. You may could improve your row click handler in a way that it saves the relevant information in a stack/array, which you process when you do the save/add operation.

    Or you skip pagination and try the bScrollInfinite feature ...
  • ping_skpping_skp Posts: 3Questions: 0Answers: 0
    Hi John, i used similar way(onKeyUp) for holding the values in script. and its working cool. Thanks for your response!
This discussion has been closed.