Unable to get property 'className' of undefined or null reference

Unable to get property 'className' of undefined or null reference

omkarrajomkarraj Posts: 2Questions: 0Answers: 0
edited April 2013 in DataTables 1.9
i am using DataTable 1.9, i have included all js related to it. i want to make a cell editable on click of cell. i have found example related to this so i have written same code but it is giving me error that unable to get 'className' of null reference.

oTable.$('td').editable('', {
"callback": function (sValue, y) {
debugger;
var aPos = oTable.fnGetPosition(this);
oTable.fnUpdate(sValue, aPos[0], aPos[1]);
},
"submitdata": function (value, settings) {
debugger;
return {
"row_id": this.parentNode.getAttribute('id'),
"column": oTable.fnGetPosition(this)[2]
};
},
"height": "14px",
"width": "100%"
});

Thanks in advance.

also i want to make only one column's cell editable. is it possible using DataTable function ..?
This discussion has been closed.