Sorting; Invalidate internal cache and get fresh values from dom

Sorting; Invalidate internal cache and get fresh values from dom

aliquipaliquip Posts: 2Questions: 0Answers: 0
edited May 2011 in General
I have a table whose values change, but when sorting, the table sorts on the old values. I'm aware of the fnUpdate function, but it's not what i need. The new values have been updated in the table cell already, outside of the datatables framework, (by using knockou and databindings). So what i need is a way to invalidate a single cell or row, then update the cache with fresh values from the dom.

(The data is html, stuff like "100miles", which is sorted by a custom sort function which strips the text in small and sorts only on the data in span)

Can anyone point me in the direction on how to do this?

Replies

  • aliquipaliquip Posts: 2Questions: 0Answers: 0
    Solved it!

    Using fnDataUpdate from http://datatables.net/plug-ins/api together wth fnDraw works like a charm!
This discussion has been closed.