_fnGetCellData throw an error when oCol is undefined

_fnGetCellData throw an error when oCol is undefined

xthekoxtheko Posts: 4Questions: 0Answers: 0
edited June 2013 in Bug reports
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]

Replies

  • allanallan Posts: 61,439Questions: 1Answers: 10,052 Site admin
    Have you removed a column from the table? Unfortunately that's a known issue with 1.9-. It is fixed in the 1.10 WIP branch...

    Allan
  • xthekoxtheko Posts: 4Questions: 0Answers: 0
    edited June 2013
    you mean completely removed? no some columns are only not visible.

    when 1.10 will be released?
This discussion has been closed.