I have generated javascript datatable in asp.net. I have brought data using webservice. It is displaying perfectly. I have made the cells editable. But I don't know how to write code for editing. My code is as follows:
$('#showData').dataTable().makeEditable({
//"bDestroy": true,
"sPaginationType": "full_numbers",
sUpdateURL: "UpdateData.cs"
"aoColumns": [
null,
null,
null,
{
indicator: 'Saving Payment Clearance Date...',
tooltip: 'Click to edit platforms',
type: 'textarea',
submit: 'Save changes',
}
]
});
I just want to update last column and it provides save button. Now my question is where to impelement UpdateData.cs? Shall I make a class file? How to pass value and row id in that function? Google shows links about php and .net MVC only.
Have used following files:
jquery.dataTables.css
jquery.dataTables.min.js
jquery.dataTables.editable.js
jquery.jeditable.js
jquery.validate.js