how to update the values of the edited row using knockout datatables extension?

how to update the values of the edited row using knockout datatables extension?

ftaranftaran Posts: 2Questions: 0Answers: 0
edited April 2013 in General
Im loading more than a 1000 rows in a data tables using the knockout extension.

the source of the data tables is an observable array. I tried to set the observable array to be filled with just plain json objects meaning the 1000+ objects contained in the array are not observable.

but since the objects are not observable then when editions were done on the plain objects the changes weren't being seen in the datatables grid because there is no binding. is there a way to get the ui to change to accommodate the new values of the plain edited json object?

I even tried removing the edited object from the observable array and reading it with no success.

Replies

  • allanallan Posts: 63,516Questions: 1Answers: 10,472 Site admin
    The knockout extension (which isn't part of the DataTables project, and therefore not supported here), isn't compatible with DataTables 1.9.4. See the discussion here for further information: https://github.com/CogShift/Knockout.Extensions/issues/9

    Allan
This discussion has been closed.