DataTables don't show changes on draw
DataTables don't show changes on draw
Hy,
I've a little problem with the redraw function. After initialisation of the dataTable, i add some classes to TDs and when I sort my array, all these changes dont appear.
I would like to know if there was a function to tell dataTable to consider these changes.
Thanks
I've a little problem with the redraw function. After initialisation of the dataTable, i add some classes to TDs and when I sort my array, all these changes dont appear.
I would like to know if there was a function to tell dataTable to consider these changes.
Thanks
This discussion has been closed.
Replies
Allan
Here an exemple of the kind of problem I encounter : http://live.datatables.net/ubenel/19
You can see that some columns are hidden. Then I sort the table by cliking on a column.
Here come my problem, you can see that some cells that where having
[code]style="display:none;"[/code]
are show.
What I simply do is to clone some rows (Japon & Corée)
[code]var listChildren = $('#'+e.nTable.id+" .child-lvl-1").clone(true);[/code]
and then I replace them in the table.
After having examine the problem, I supposed that when I use clone, it returned me rows as they were after the creation of the table.
I do that because I use the jQuery pluggin treeTable and want to conserve the hierachy even when I sort my table.