How To Display Bootstrap Toggle Switch with DataTables via Render
I have found the solution:
return '<input id="toggle-demo" type="checkbox" checked data-toggle="toggle" data-on="Ready" data-off="Not Ready" data-onstyle="success" data-offstyle="danger">';
and
"fnDrawCallback": function() {
$('#toggle-demo').bootstrapToggle();
},
Loading Js after table finish the loading!