I have painted a datatable with checkbox’s against each row. Now when i select certain checkboxes and click submit , I want to get the value of all the columns in the entire row.
I tried using $('tr input',oTable.fnGetNodes()).serialize(); , but this returned only the value of the checkbox.
How can i get the value of the entire checked row.
Resolved the issue.
Looped over each of the
trrows in the Datatables, and got the an array containing value of each cell usingrowData is an array which contains the values of each of the cells.Since the checkbox was the first column , got the value of the first column from the rowData array like this