How can I update a cell?
How can I update a cell?
edgaer
Posts: 1Questions: 1Answers: 0
Hello, I have a table where I fill in the upper part with 5 entries Code Description Cost, Discount, Quantity. I don't have it connected to the database... when I press the add button, the data is downloaded and a new row is made. What I would like is that when re-entering with the same code it detects that it already exists but that it only updates the QUANTITY cell in the table.
Answers
Use
cell().data()
to update a particular cell. Please provide a simple test case with what you are doing if you want more specific help.https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin