ajax.reload keep inline edit

ajax.reload keep inline edit

wujingjingwujingjing Posts: 10Questions: 4Answers: 1
        table.ajax.reload(null, false);
    }, 10*1000 );

My table every 10 seconds reload.
If I'm editing while reload,Edit box disappears.

Please see GIF.

Thank you for your help.

This question has an accepted answers - jump to answer


  • allanallan Posts: 60,924Questions: 1Answers: 9,929 Site admin
    Answer ✓

    You'll need to cancel the Ajax reload if editing mode is active. You could do something like:

    if ( ! $('div.DTE').length ) {
      table.ajax.reload( null, false );


  • wujingjingwujingjing Posts: 10Questions: 4Answers: 1

    Very great, allan, you are like God.
    Although I didn't know how to achieve it,But it worked.

This discussion has been closed.