Search & Delete

Search & Delete

alTernaTealTernaTe Posts: 3Questions: 0Answers: 0
edited March 2013 in TableTools
How can I search record & delete all record list at the same time by clicking a button..??

Replies

  • allanallan Posts: 63,680Questions: 1Answers: 10,498 Site admin
    Using TableTools and Editor, you'd apply your filter using fnFilter and then use TableTools' fnSelectAll method ( http://datatables.net/extras/tabletools/api#fnSelectAll ) and finally call `delete` on the Editor instance to delete the rows. That could all be done in a single TableTools' button's fnClick method if you wanted.

    Allan
  • alTernaTealTernaTe Posts: 3Questions: 0Answers: 0
    How about Searching & Delete at Client & Server side..?
    How about PHP script & where I put my php script inside the DataTables script.
This discussion has been closed.