ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From voze...@apache.org
Subject [20/37] ignite git commit: IGNITE-5863 Fixed select ALL logic.
Date Tue, 03 Oct 2017 14:03:34 GMT
IGNITE-5863 Fixed select ALL logic.


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/2c393516
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/2c393516
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/2c393516

Branch: refs/heads/ignite-2.3
Commit: 2c393516f618820d27a2cb8ad58a22c046b4fe68
Parents: 4cb0fc73
Author: Dmitriy Shabalin <dmitriyff@gmail.com>
Authored: Sun Oct 1 18:57:18 2017 +0700
Committer: Alexey Kuznetsov <akuznetsov@apache.org>
Committed: Mon Oct 2 13:56:37 2017 +0700

----------------------------------------------------------------------
 .../frontend/app/components/grid-item-selected/controller.js      | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/2c393516/modules/web-console/frontend/app/components/grid-item-selected/controller.js
----------------------------------------------------------------------
diff --git a/modules/web-console/frontend/app/components/grid-item-selected/controller.js
b/modules/web-console/frontend/app/components/grid-item-selected/controller.js
index 4923924..0e8dadc 100644
--- a/modules/web-console/frontend/app/components/grid-item-selected/controller.js
+++ b/modules/web-console/frontend/app/components/grid-item-selected/controller.js
@@ -27,7 +27,10 @@ export default class {
             this.applyValues();
 
             this.gridApi.grid.registerDataChangeCallback(() => this.applyValues(), [this.uiGridConstants.dataChange.ROW]);
+            // Used to toggle selected of one row.
             this.gridApi.selection.on.rowSelectionChanged(this.$scope, () => this.applyValues());
+            // Used to toggle all selected of rows.
+            this.gridApi.selection.on.rowSelectionChangedBatch(this.$scope, () => this.applyValues());
         }
     }
 


Mime
View raw message