cell data function re-render whole row
cell data function re-render whole row
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
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.
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