(this).is(':checked')){
        //$(this).bootstrapToggle('on')
        console.log('CHECK')
        if (this.id == 'toggle-event-alert-status'){
           external_table.bootstrapTable('updateCell', {index: row_id , field: 'alert_status', value: '1' , reinit: true })
        }
      }
      else {
        console.log('NO CHECK')
        //$(this).bootstrapToggle('off')
        if (this.id == 'toggle-event-alert-status'){
          external_table.bootstrapTable('updateCell', {index: row_id , field: 'alert_