sorting

sorting

dmartinezdmartinez Posts: 13Questions: 0Answers: 0
edited November 2011 in General
when i edit some element of the DOM with ajax, and then i sort the table... the DOM is sort by the old data.. what can i do?

Replies

  • allanallan Posts: 63,535Questions: 1Answers: 10,475 Site admin
    You need to use the API to update the table - not direct DOM manipulation (since DataTables can't see that): http://datatables.net/api#fnUpdate .

    Allan
This discussion has been closed.