Quantcast
Channel: DataTables 1.9 — DataTables forums
Viewing all articles
Browse latest Browse all 1816

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

$
0
0
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 ..?

Viewing all articles
Browse latest Browse all 1816

Trending Articles