[pve-devel] [PATCH manager 1/6] move hideHeaders into static configuration

Dominik Csapak d.csapak at proxmox.com
Tue Dec 6 16:26:37 CET 2016


in extjs 6.2, this property will not be set in ApplyIf, so we move it
into the static configuration, so that the headers will not be visible

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/manager6/grid/ObjectGrid.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/manager6/grid/ObjectGrid.js b/www/manager6/grid/ObjectGrid.js
index afe0dbe..f4e7e90 100644
--- a/www/manager6/grid/ObjectGrid.js
+++ b/www/manager6/grid/ObjectGrid.js
@@ -21,6 +21,7 @@ Ext.define('PVE.grid.ObjectGrid', {
     extend: 'Ext.grid.GridPanel',
     alias: ['widget.pveObjectGrid'],
     disabled: false,
+    hideHeaders: true,
 
     getObjectValue: function(key, defaultValue) {
 	var me = this;
@@ -109,7 +110,6 @@ Ext.define('PVE.grid.ObjectGrid', {
 
 	Ext.applyIf(me, {
 	    store: store,
-	    hideHeaders: true,
 	    stateful: false,
 	    columns: [
 		{
-- 
2.1.4





More information about the pve-devel mailing list