oTable.draw() not working after inline edit

oTable.draw() not working after inline edit

SurgeSurge Posts: 6Questions: 2Answers: 1

Hi! I am having trouble reloading my table after an edit. I can obviously reload the table if I refresh the page, but I do not want to do that. What am I missing?

editor.on( 'submitSuccess', function (e, json) {
    var workOrderId = $('#hdnWorkOrderId').val();
    var oTable = $(table).DataTable();
    oTable.draw();
});

Answers

  • SurgeSurge Posts: 6Questions: 2Answers: 1

    Here's the solution I came up with:

    editor.on( 'submitSuccess', function (e, json) {                
        var estimateId = $('#hdnEstimateId').val();
        location.reload();
    });   
    
  • allanallan Posts: 63,455Questions: 1Answers: 10,465 Site admin

    That shouldn't be required. What does the server respond with to the Editor request?

    Allan

This discussion has been closed.