Can't get my table to refresh properly

Can't get my table to refresh properly

zaphod357zaphod357 Posts: 1Questions: 0Answers: 0
edited March 2013 in General
Hello there
my example can be found here
http://live.datatables.net/ufihuc/2/edit#javascript,html

in a nutshell I have a datatable, whose contents I change using .html()
and I'd like the display to reflect that change, so I call fnDraw(), but that doesn't do anything
so I also threw an fnClearTable in the mix before I mess with html, and this time the table gets refreshed but no data..

I understand there are other calls to change the contents IIUC, but this code was initially targetting simple enough tables that could use datatables as an opt-in feature, and so I'd rather use a standard way to mess with the contents as far as possible

in any case, please tell me if I'm doing anything wrong here, and what is the preferred approach to this problem.
This discussion has been closed.