rtify.notify("Something went wrong",'error',5)  }
  });
  noc_table.bootstrapTable('refresh')
}


  $( document ).ready(function() {

    var external_table = $('#external_table')
    
    var external_table_data = external_table.bootstrapTable('getData');

    $("#external_table").delegate(".toggle-event", "change", function() {
      var row = $(this).closest("tr");
      var row_id = row.data('index')
      var external_table = $('#external_table')
      console.log('this is ',external_table)
      if ($