AliHichem / AliDatatableBundle

Symfony2 Ajax Datagrid Bundle for doctrine2 entities
MIT License
112 stars 72 forks source link

select all checkbox is not working #142

Closed greg606 closed 9 years ago

greg606 commented 9 years ago

When you click on select all button it has no effect. All checkboxes should be checked.

AliHichem commented 9 years ago

@greg606 I see a lot of issues you opened with no or very brief description which I'll close with no exceptions. Any new issue that you open with no description will not be treated.

greg606 commented 8 years ago
       //fix for alidatable checkboxes all (with icheck checkbox plugin event)
        $('[name=datatable_action_all]').on('ifChanged', function () {
            var checkBoxes = $('td :checkbox');
            checkBoxes.prop("checked", !checkBoxes.prop("checked"));
        });