select a row in my datatable and add a number in the last column of this row
select a row in my datatable and add a number in the last column of this row
alcalaffy
Posts: 2Questions: 1Answers: 0
I need to select a row in my datatable and add a number in the last column of this row. I get this number from an HTML input, how can I do it without the select extension?
Answers
Use
row()
to select a single row. Therow-selector
docs show all the options available to choose the specific row. Userow().data()
to get the row's data. Update the data then userow().data()
to update the row followed bydraw()
to updated sorting, searching, etc. For example:http://live.datatables.net/kudagise/1/edit
Kevin