Remove cached version of for bDestroy: reinit/true

Remove cached version of for bDestroy: reinit/true

garrettgarrett Posts: 2Questions: 0Answers: 0
edited April 2012 in General
I don't want to use footer callbacks, but I have information in the footer that needs to be updated via ajax. When I replace the table's html and reinitialize it, all works fine except the footer is restored to the old values. Any ideas?

Replies

  • allanallan Posts: 63,810Questions: 1Answers: 10,516 Site admin
    Destroying the table will put a plain HTML back into the DOM based on the current state, not the original table since that would be quite complicated (i.e. undoing every action that has been done thus far). So either you could clear your values in the footer or clone the footer node and replace it when needed? The best solution will depend upon the exact scenario I suspect.

    Allan
This discussion has been closed.