Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82115

Possible bug in _fnSetCellData(oSettings, iRow, iCol, val) function

$
0
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:

			oCol.fnSetData( oData, val );

On one occasion, I got an error reported by Firebug and hence, I changed this to:

			if (oCol != undefined) {
				oCol.fnSetData( oData, val );
			}

Did I do the right thing here?

Regards,

Ashish.

Viewing all articles
Browse latest Browse all 82115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>