_fnGetCellData throw an error when oCol is undefined
_fnGetCellData throw an error when oCol is undefined
xtheko
Posts: 4Questions: 0Answers: 0
Hi,
_fnGetCellData throw an error when oCol is undefined.
I'm using bStateSave with localstorage and ColVis.
If for example the first columns is invisible so chrome fires "Cannot call method 'fnGetData' of undefined "
and Firefox "TypeError: oCol is undefined" and the processing div is ever displayed.
I looked at the code and add something like this but don't know if this is a good solution.
[code]
function _fnGetCellData( oSettings, iRow, iCol, sSpecific )
{
.......
if(typeof oCol == "undefined") {
return ''
}
.........
}
[/code]
_fnGetCellData throw an error when oCol is undefined.
I'm using bStateSave with localstorage and ColVis.
If for example the first columns is invisible so chrome fires "Cannot call method 'fnGetData' of undefined "
and Firefox "TypeError: oCol is undefined" and the processing div is ever displayed.
I looked at the code and add something like this but don't know if this is a good solution.
[code]
function _fnGetCellData( oSettings, iRow, iCol, sSpecific )
{
.......
if(typeof oCol == "undefined") {
return ''
}
.........
}
[/code]
This discussion has been closed.
Replies
Allan
when 1.10 will be released?