Pman.Tab.XtupleMetric.bjs
authorEdward <edward@roojs.com>
Tue, 5 Aug 2014 06:58:12 +0000 (14:58 +0800)
committerEdward <edward@roojs.com>
Tue, 5 Aug 2014 06:58:12 +0000 (14:58 +0800)
Pman.Tab.XtupleMetric.js

Pman.Tab.XtupleMetric.bjs
Pman.Tab.XtupleMetric.js

index e704c2d..096b1c8 100644 (file)
                             "xtype": "PagingToolbar",
                             "|xns": "Roo"
                         },
-                        {
-                            "*prop": "colModel[]",
-                            "dataIndex": "metric_id",
-                            "header": "ID",
-                            "width": 75,
-                            "xtype": "ColumnModel",
-                            "|renderer": "function(v) { return String.format('{0}', v); }",
-                            "|xns": "Roo.grid"
-                        },
                         {
                             "*prop": "colModel[]",
                             "dataIndex": "metric_name",
                             "header": "Name",
-                            "width": 150,
+                            "width": 250,
                             "xtype": "ColumnModel",
                             "|renderer": "function(v) { return String.format('{0}', v); }",
                             "|xns": "Roo.grid",
index ae21314..c2db6c6 100644 (file)
@@ -198,20 +198,12 @@ Pman.Tab.XtupleMetric = new Roo.XComponent({
                     pageSize : 50
                 },
                 colModel : [
-                    {
-                        xtype: 'ColumnModel',
-                        xns: Roo.grid,
-                        dataIndex : 'metric_id',
-                        header : 'ID',
-                        width : 75,
-                        renderer : function(v) { return String.format('{0}', v); }
-                    },
                     {
                         xtype: 'ColumnModel',
                         xns: Roo.grid,
                         dataIndex : 'metric_name',
                         header : 'Name',
-                        width : 150,
+                        width : 250,
                         renderer : function(v) { return String.format('{0}', v); },
                         editor : {
                             xtype: 'GridEditor',