I would like to put a column at the end with a checkbox or toggle switch button for all lines coming from an ajax call.
I was able to put by sDefaultContext and mRender, but the checkbox does not work, it does not recognize the click.
Does anyone know how to solve it?
I currently use the following code snippet:
"aoColumnDefs" : [
//adiciona a classe para todas as células referente a coluna indicada
{"sClass" : "hidden-xs sorting","aTargets" : [1]},
{"mData": null, "sDefaultContent": "<input type='checkbox' name=''></input>","aTargets": [3]}
]