How can I get column name and value while editing a cell?

How can I get column name and value while editing a cell?

mayankkmayankk Posts: 3Questions: 0Answers: 0
edited October 2012 in DataTables 1.9
[code]
var oTable = $('#example').dataTable();
/* Apply the jEditable handlers to the table */
$('td', oTable.fnGetNodes()).editable("mysubmiturl", {
"callback": function( sValue, y ) {
var aPos = oTable.fnGetPosition( this );
oTable.fnUpdate( sValue, aPos[0], aPos[1] );
},
"submitdata": function (value, settings) {
var aPos = oTable.fnGetPosition( this );
var aData = oTable.fnGetData( aPos[0] );
return {
"id": aData[0],
"columnName": "updated value of cell"
};
}
} );
//oTable = $('#example').dataTable();
}
[/code]
is there a way I can get column name of the editing cell and updated value of a cell?
This discussion has been closed.