Pman.Dialog.CoreNotifyRefer.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 16 May 2012 04:53:37 +0000 (12:53 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 16 May 2012 04:53:37 +0000 (12:53 +0800)
Pman.Dialog.CoreNotifyRefer.js

Pman.Dialog.CoreNotifyRefer.bjs
Pman.Dialog.CoreNotifyRefer.js

index 21f6484..808ad68 100644 (file)
                                     "*prop": "colModel[]",
                                     "dataIndex": "freq",
                                     "header": "Frequency",
-                                    "width": 100,
+                                    "width": 70,
                                     "xtype": "ColumnModel",
                                     "|renderer": "function(v,x,r) { \n\n    Roo.log(this);\n    var cm = _this.grid.colModel;\n    var ix = cm.findColumnIndex('freq');\n    var ce = cm.getCellEditor(ix)\n    var matches = ce.field.store.query('code',v);\n    if (!matches.length) {\n        return '';\n    }\n    return String.format('{0}', matches.first().data.title);\n }",
                                     "|xns": "Roo.grid",
index b5f822e..bf70c56 100644 (file)
@@ -243,7 +243,7 @@ Pman.Dialog.CoreNotifyRefer = {
                                 xns: Roo.grid,
                                 dataIndex : 'freq',
                                 header : 'Frequency',
-                                width : 100,
+                                width : 70,
                                 renderer : function(v,x,r) { 
                                 
                                     Roo.log(this);