adding content with mRender is not showing css stylization when it is valid?

adding content with mRender is not showing css stylization when it is valid?

mihomesmihomes Posts: 165Questions: 23Answers: 0
edited November 2013 in DataTables 1.9
I am using mRender to add checkboxes in the first column of the tbody... the correct css styling is not being applied to them though. I can only assume this is because I am using mRender to add these values in? I have no problem with the checkbox in the thead being properly styled, but this is included by default with the html. Ideas?

[code]




Username
Password
Email




Data 1
Data 2
Data 3
Data 4




[/code]

[code]
$('#sample_1').dataTable({
//start my code
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": "/assets/data-tables/test-normal.php",
//end my code
"aLengthMenu": [
[5, 15, 20, -1],
[5, 15, 20, "All"] // change per page values here
],
"aoColumnDefs": [ {
"aTargets": [ 0 ],
"bSortable": false,
"mRender": function ( data, type, full ) {
return '';
}
} ],
// set the initial value
"iDisplayLength": 5,
"sPaginationType": "bootstrap",
"oLanguage": {
"sLengthMenu": "_MENU_ records",
"oPaginate": {
"sPrevious": "Prev",
"sNext": "Next"
}
},
});

[/code]
This discussion has been closed.