From 40b532f911c1bbe151e55134c79abe6094010d4a Mon Sep 17 00:00:00 2001 From: Rod Ladines Date: Tue, 25 Jul 2017 11:15:57 -0500 Subject: [PATCH] Fixed issue with array view deactivating when columns are selected/de-selected from table --- src/js/ux/TableView.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/js/ux/TableView.js b/src/js/ux/TableView.js index b6dc811..63cc1fb 100644 --- a/src/js/ux/TableView.js +++ b/src/js/ux/TableView.js @@ -232,6 +232,7 @@ ogrid.TableView = ogrid.Class.extend({ //events to handle re-activation of popovers (for now, use the same event handler) $t.on('page-change.bs.table', $.proxy(this._onPageChange, this)); $t.on('sort.bs.table', $.proxy(this._onPageChange, this)); + $t.on('column-switch.bs.table', $.proxy(this._onPageChange, this)); //highlight of clicked row $t.on('click', 'tbody tr', function(e) { @@ -679,4 +680,4 @@ ogrid.TableView = ogrid.Class.extend({ //$t.bootstrapTable('resetView'); } -}); \ No newline at end of file +});