How to place checkbox in footer and it's correspondong all cell vertically of datatable.

How to place checkbox in footer and it's correspondong all cell vertically of datatable.

suryadevsuryadev Posts: 1Questions: 1Answers: 0

When i check checkbox of footer then it's all checkbox(vertically) of all cell checked.

i am using this code --
aoColumnDefs:[
{
aTargets: [2], // Column number which needs to be modified
fnRender: function(o, v) { // o, v contains the object and value for the column
return '<input type="checkbox" id="someCheckbox" name="someCheckbox" />';
},
sClass: 'tableCell' // Optional - class to be applied to this table cell
}]

to insert checkbox for a field and---

aoColumns: [{type: "checkbox", values: ['all']}.......] for footer. but in this case a button is shown and when click on it then pop up of containing checkbox is open. But i need to show directly checkbox not on clicking the button.

This discussion has been closed.