jquery - Dynamically populated table disappearing when triggering update -
using tablesorter first time. have table updated dynamically via ajax. when updated not mean appending removing rows, change status column in table.
the sort doesn't seem work correctly after this. suspect need trigger update cache update , tablesorter regcognise change. when call elements in table deleted, header, rows everything. left table tag itself.
function updatetablesort() { jquery("#data-table").trigger("update"); var sorting = [[0, 0], [1, 0]]; jquery("#data-table").trigger("sorton", [sorting]); }
any ideas?
thanks
ian
seems it's pretty tough, tablesorter not designed that.
there's another topic might want have at. i've tried of solutions didn't work. if manage working, tell me :)
Comments
Post a Comment