rebinding the datatable

rebinding the datatable

guy.schallerguy.schaller Posts: 4Questions: 0Answers: 0
edited July 2010 in General
hallo, i have a problem.

i have an html table on the screen that i have built after an ajax request using javascript.
then i made that table a datatable.

untill here everything is good.

now i want to update the table using same functions. that means i want to empty the tbody
then fill it up agian using ajax. and then rebind the datatable.

what do you say?... how can i do this?

tnx

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Have a look at http://datatables.net/plug-ins/api#fnReloadAjax

    Allan
  • guy.schallerguy.schaller Posts: 4Questions: 0Answers: 0
    by the way in your api page. the show hide details button
    dosnt work in ie8...

    i needed to be in comptability mode so it will work.


    anyway i want to manage the source and building of the table by my own.

    can i maybe destroy the datatable? and then recall it on the table?
    that could work for me too...
This discussion has been closed.