var index = table.fnAddData(row, false); var tr = table.fnGetNodes(index);
var index = table.fnAddData(row, false); var tr = table.fnGetNodes(index[0]);That is basically the same as:
var index = table.fnAddData(row, false); var tr = table.fnSettings().aoData[index[0]];Also, unless I'm missing something - I don't actually see where fnGetNodes is calling _fnNodeToDataIndex(). That function is only called from fnDeleteRow, fnGetData, fnGetPosition and _fnNodeToDataIndex.
var iRow = (typeof mRow == 'object') ?
_fnNodeToDataIndex(oSettings, mRow) : mRow;
var indices = table.fnAddData(row_array, false); var index = indices[0]; map[row_id] = index; -------------- var index = map[row_id] table.fnUpdate(row_array, index, null, false);
It looks like you're new here. If you want to get involved, click one of these buttons!
Get useful and friendly help straight from the source.