Reply To: Toggle switches inside datatable

#10034933
Woland
Participant

I found a solution for render it:


 dt.on('draw', function() {
   $('[data-plugin-ios-switch]').each(function() {
     $(this).themePluginIOS7Switch();
   });
});

But after plugin reinit checkboxes events not working


this.$table.on('change', td :checkbox[name=file_public]', function() {
  console.log('CHECK!');             
});

How I can fix it?