Adapt datatables for my needs

Adapt datatables for my needs

gtpoutsogtpoutso Posts: 2Questions: 0Answers: 0
edited September 2013 in General
Hello. I am building an app and I am trying to find out if datatables is a suitable solution for my problem.

I need to fetch some data from the db and put them in a table. Then I need to filter that table and select some or all of those filtered rows.
With a clickable button I then want to move the selected rows to another table. When I am finished I want to send the rows of the second table back to the db.

Thanks for your help

PS: I just need something like: "Yes datatables can do the job. Check this, this and that"

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Sounds perfectly doable. You'd want to use the API ( http://datatables.net/api ) for filtering ( fnFilter ), adding ( fnAddData ) and removing ( fnDeleteRow ) data - i.e. moving between tables using add / delete. DataTables won't submit data to a server for you - you'd just use standard jQuery for that.

    Allan
  • gtpoutsogtpoutso Posts: 2Questions: 0Answers: 0
    Thanks for your answer. I'll check those links out
This discussion has been closed.