I have a datatable from ajax source. I want to display a checkbox in one column based on its value.
If the value is active
, checkbox should be checked
, otherwise it remains unchecked
.
I am using Switchery JS
to stylize the checkbox. It works fine in normal HTML body
, but not inside a datatable column.
Here is the fiddle:
Aucun commentaire:
Enregistrer un commentaire