checkboxes in rows from ajax{}

checkboxes in rows from ajax{}

pandaomipandaomi Posts: 3Questions: 1Answers: 0

i cant find a way to put a checkbox into my table, last thing i tried

columns: [
{
data: "active",
render: function ( data, type, row ) {
if ( type === 'display' ) {
return '<input type="checkbox" class="editor-active">';
}
return data;
},
className: "dt-body-center"
}
],

This discussion has been closed.