fnUpdate not working on table defined with aaData
fnUpdate not working on table defined with aaData
(I tried to post this to the forums yesterday but the message hasn't appeared yet and I'm not sure if it got lost - apologies if this ends up being a repost).
I am trying to get DataTables working with jeditable, like in this example:
http://datatables.net/examples/api/editable.html
I'm using the fnUpdate function, as used above, but it doesn't seem to work when I declare my tables from Javascript objects. There is an example here:
http://jsfiddle.net/Y9mML/
When I click the "update" button, I call fnUpdate on cell (0,0), but it is not changed. This *does* seem to work if I declare my table as HTML.
I've also tried using the fnDataUpdate external plugin from here:
http://datatables.net/plug-ins/api
but I can't get that to work either. What am I doing wrong?
Peter
I am trying to get DataTables working with jeditable, like in this example:
http://datatables.net/examples/api/editable.html
I'm using the fnUpdate function, as used above, but it doesn't seem to work when I declare my tables from Javascript objects. There is an example here:
http://jsfiddle.net/Y9mML/
When I click the "update" button, I call fnUpdate on cell (0,0), but it is not changed. This *does* seem to work if I declare my table as HTML.
I've also tried using the fnDataUpdate external plugin from here:
http://datatables.net/plug-ins/api
but I can't get that to work either. What am I doing wrong?
Peter
This discussion has been closed.