Possible bug in _fnSetCellData(oSettings, iRow, iCol, val) function
Possible bug in _fnSetCellData(oSettings, iRow, iCol, val) function
ashishkulkarni
Posts: 9Questions: 0Answers: 0
The function _fnSetCellData(oSettings, iRow, iCol, val) in jquery.dataTables.js ver 1.9.4 makes use of oCol without checking if it is undefined:
[code]
oCol.fnSetData( oData, val );
[/code]
On one occasion, I got an error reported by Firebug and hence, I changed this to:
[code]
if (oCol != undefined) {
oCol.fnSetData( oData, val );
}
[/code]
Did I do the right thing here?
Regards,
Ashish.
[code]
oCol.fnSetData( oData, val );
[/code]
On one occasion, I got an error reported by Firebug and hence, I changed this to:
[code]
if (oCol != undefined) {
oCol.fnSetData( oData, val );
}
[/code]
Did I do the right thing here?
Regards,
Ashish.
This discussion has been closed.