How to add row and sum after adding a new row
How to add row and sum after adding a new row
Escobedo97
Posts: 12Questions: 7Answers: 0
Examples codes:
http://live.datatables.net/cepasoda/9/edit
https://datatables.net/examples/api/add_row.html
Im trying to combine this two examples, what im trying to do is that everytime i add a row with an input the total counter dynamicly changes the total score
This question has an accepted answers - jump to answer
Answers
Not sure what you are trying use to add the ows but I updated the example to show one option:
http://live.datatables.net/cepasoda/10/edit
Note the addition of
columns.defaultContent
to thecolumnDefs
to allow therows.add()
to work without needing to add that column. Not sure if this is the issue you are running into. If you still need help please update the test case to show the issue you are having.Kevin