cell data function re-render whole row

cell data function re-render whole row

DarriorDarrior Posts: 2Questions: 1Answers: 0

Hi.

I'm using cell(this).data(someNewData) function to update my table object for searching purposes (and some scripts update my DOM before that).
I have json data source and after cell is created, I set some urls into cells based on actual data from json.

The problem is that I have to add some data to one cell, but my whole row, after data() function is invoked on cell, is redrawed based only on raw unformatted data from json. And I am losing my row formatting.

Can anyone know how to prevent loss of formatting in this case for this row? I'm now using .draw() method, because i don't need it.

This question has an accepted answers - jump to answer

Answers

  • DarriorDarrior Posts: 2Questions: 1Answers: 0

    I just done update to 1.10.4 and issue is gone. I think fix in this version in cell().invalidate() was what i needed.

  • allanallan Posts: 63,535Questions: 1Answers: 10,475 Site admin
    Answer ✓

    Yup - when I saw the title of the post I was immediately thinking that the 1.10.4 update would address it. Good to hear it does :-)

    Allan

This discussion has been closed.