Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 3.3, 4.0
-
Fix Version/s: EE-4.3.0.GA
-
Component/s: ACE-Components
-
Labels:None
-
Environment:Linux, Glassfish 4.X, IF 3.3 and 4.0
-
Affects:Documentation (User Guide, Ref. Guide, etc.)
-
Community Contribution:Yes
Description
Currently, there is no selectall/deselectall javascript functionality for the ace:datatable. The only way to kind of do this is to use an ajax listener to modify the stateMap. This is not really acceptable because it forces you to do a submit...whereas simply selecting a single-row does not.
I personally would like a selectall to ONLY select those columns that are visible (so only on the page shown and only those not filtered), but an option to selectall visible and selectall would be okay as well.
I personally would like a selectall to ONLY select those columns that are visible (so only on the page shown and only those not filtered), but an option to selectall visible and selectall would be okay as well.
r52778: added selectAllRowsInTable() and deselectAllRowsInTable() client-side-triggered utility functions, which perform a request to the server to set all rows to selected or deselected in the row state map