setting cell data with api() throw an exception - annot read property 'row' of undefined
setting cell data with api() throw an exception - annot read property 'row' of undefined
Roee
Posts: 1Questions: 1Answers: 0
Hi There,
I am getting an exception when trying to set a cell data through the api() :
My code looks like:
var myDataTable = $("selector").dataTable({
...
...
"aaData": myJsonData,
...
...
});
Then trying to update the cell when selected drop down option have been changed:
myDataTableInstance.api().cell(td).data("<select><options ... </select>")
I am using version 1.10.10 with json source (but not ajax option) And the exception origin is :
_fnSetCellData( ctx[0], cell[0].row, cell[0].column, data );
while cell[0].row is undefined
Any help will be appreciated,
Roee.
This discussion has been closed.