Update a row in database using jeditable

Update a row in database using jeditable

rosemaerosemae Posts: 5Questions: 0Answers: 0
edited November 2009 in General
Hi! I am totally new to datatables. As one of the initial steps, I was already able to get rows from the database and use the jeditable function but how can I really update the records on my database using jeditable?

Replies

  • allanallan Posts: 61,840Questions: 1Answers: 10,134 Site admin
    Hi rosemae,

    There are a number of discussions about this in the forum, if you do a search for 'jEditable'. What you need to do is use the callback function that jEditable provides for submitting content to send an Ajax call (assuming you want to do it with Ajax) to the server with the new information available.

    Regards,
    Allan
  • allanallan Posts: 61,840Questions: 1Answers: 10,134 Site admin
    Actually, given the number of threads on this specific topic, I think it's probably best if I update my example to show how this might be done - which I now have: http://datatables.net/examples/api/editable.html . Hopefully that will help :-)

    Regards,
    Allan
  • rosemaerosemae Posts: 5Questions: 0Answers: 0
    Thanks Allan!

    I had this working.
This discussion has been closed.