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.
![suryadev](https://secure.gravatar.com/avatar/1efed7b4512b90d91a7bc9aa6b149fa4/?default=https%3A%2F%2Fvanillicon.com%2F1efed7b4512b90d91a7bc9aa6b149fa4_200.png&rating=g&size=120)
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.