How to redraw a table with new ajax source without destroying datatable object?

How to redraw a table with new ajax source without destroying datatable object?

sathish_msathish_m Posts: 9Questions: 4Answers: 0

i want to redraw a table with new ajax source without destroying datatable object. can any body help me.

This question has accepted answers - jump to:

Answers

  • DeTropDeTrop Posts: 8Questions: 1Answers: 1
    Answer ✓

    Hi,

    an idea?!

    global instance var?

    var globinstance = {};

    ...

    globalinstance = $("mytable").dataTable();

    ...

    if(globalinstance....

    else ...

  • allanallan Posts: 63,534Questions: 1Answers: 10,475 Site admin
    Answer ✓

    Can you not just use the ajax.url() and ajax.url().load() methods?

    Allan

  • sathish_msathish_m Posts: 9Questions: 4Answers: 0

    thank you allan and detrop.

This discussion has been closed.