Avoid ajax call after edit cell

Avoid ajax call after edit cell

fruiz007fruiz007 Posts: 2Questions: 1Answers: 0

Hi folks

i have a datatable witch is using ajax to populate record with serverSide:false. after records loaded i edited a cell value and after 2 or 3 seconds the datatable is making an automatic ajax call and refresh the data. do you know how can i disable that?

thanks in advance.

This question has an accepted answers - jump to answer

Answers

  • kthorngrenkthorngren Posts: 21,352Questions: 26Answers: 4,955
    Answer ✓

    If you have ajax defined in your Editor config then the data will be sent to the server to update the database.

    It could be you have an event that is using ajax.reload() to reload the Datatable data.

    If you still need help then post your relevant Datatables and Editor Javascript code. Or better a link to your page so we can take a look at what is happening.

    Kevin

  • fruiz007fruiz007 Posts: 2Questions: 1Answers: 0

    I want to kill myself. If I had an ajax.reload in another function. Things that happen when you use copy/paste. thank you and sorry

Sign In or Register to comment.