Hi Allan,
This refers to pre-defined buttons:
http://datatables.net/release-datatables/extras/TableTools/select_multi.html
When using select_all in aButtons, it seems that this default button ignores filter a criterion.
Example: If one filters in the search field browser value = "1.8" and then presses aButtons:select_all, and then "un-filters" by deleting the "1.8" from the search filter, all records are selected instead of only those that were selected in the previous step.
In addition, the following function does not work e.g. a row_selected_counter is not increased/decreased by using the aButtons:select_all and aButtons:select_none pre-defined buttons:
It would be nice to have the pre-defined buttons being extended with that functionality, and maybe also the core provide a status counter of the number of selected rows.
Thanks,
Rgds
Martin
This refers to pre-defined buttons:
http://datatables.net/release-datatables/extras/TableTools/select_multi.html
When using select_all in aButtons, it seems that this default button ignores filter a criterion.
Example: If one filters in the search field browser value = "1.8" and then presses aButtons:select_all, and then "un-filters" by deleting the "1.8" from the search filter, all records are selected instead of only those that were selected in the previous step.
In addition, the following function does not work e.g. a row_selected_counter is not increased/decreased by using the aButtons:select_all and aButtons:select_none pre-defined buttons:
"fnRowSelected": function () { row_select_counter++; }, "fnRowDeselected": function () { row_select_counter = row_select_counter-1; },
It would be nice to have the pre-defined buttons being extended with that functionality, and maybe also the core provide a status counter of the number of selected rows.
Thanks,
Rgds
Martin