When column is display:none; using CSS I can't update via cell.data().draw();

When column is display:none; using CSS I can't update via cell.data().draw();

rotaerczrotaercz Posts: 31Questions: 7Answers: 0

Is there a way to get the cell to update even if it's not visible due to CSS?

Currently I get an error that says:

Uncaught TypeError: Cannot read property 'row' of undefined

when the column 'display' is set to 'none' but works fine if it's visible.

This question has an accepted answers - jump to answer

Answers

  • colincolin Posts: 15,240Questions: 1Answers: 2,599
    Answer ✓

    Hi @rotaercz ,

    We're happy to take a look, but it would help, as per the forum rules, if you could link to a running test case showing the issue so we can offer some help. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

  • rotaerczrotaercz Posts: 31Questions: 7Answers: 0

    Hmm, I must be doing something wrong.

    I tested with a test case here: http://live.datatables.net/fisekuzu/2/

    And everything seems to work as I think it should. I'll have to look into my own code.

    Thanks

This discussion has been closed.