Using DataTables I want to change the value of the data before rendering the table. I used this:
\"fnRowCallback\": function( nRow, aData, iDisplayIndex ) {
You should probably paste some more of your code, especially the sorting area.
It seems you're mixing up val() and html():
This will get you the input or cell value as in the value tag "value=?"
$("#currentRow").val()
This will get you the actual html (data) between the tag "<td>data</td>"
$("#currentRow").html()
You need to update the datatable, not html.
oTable.fnUpdate( newValue, rowPos, columnPos);
assuming oTable
is a reference to the datatable.