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

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

index 9e02a57..8566ca5 100644 (file)
                                             "*prop": "editor",
                                             "items": [
                                                 {
-                                                    "|xns": "Roo.form",
-                                                    "xtype": "ComboCheck",
                                                     "*prop": "field",
+                                                    "allowBlank": false,
+                                                    "displayField": "title",
+                                                    "editable": false,
+                                                    "fieldLabel": "Country",
+                                                    "hiddenName": "freq",
+                                                    "listWidth": 200,
+                                                    "mode": "local",
+                                                    "name": "freq_name",
+                                                    "tpl": "<div class=\"x-grid-cell-text x-btn button\"><b>{title}</b> </div>",
+                                                    "triggerAction": "all",
+                                                    "valueField": "code",
+                                                    "width": 200,
+                                                    "xtype": "ComboBox",
+                                                    "|xns": "Roo.form",
                                                     "items": [
                                                         {
                                                             "*prop": "store",
index 923d103..e578ab3 100644 (file)
@@ -300,8 +300,20 @@ Pman.Dialog.CoreNotifyRefer = {
                                     xtype: 'GridEditor',
                                     xns: Roo.grid,
                                     field : {
-                                        xtype: 'ComboCheck',
+                                        xtype: 'ComboBox',
                                         xns: Roo.form,
+                                        allowBlank : false,
+                                        displayField : 'title',
+                                        editable : false,
+                                        fieldLabel : 'Country',
+                                        hiddenName : 'freq',
+                                        listWidth : 200,
+                                        mode : 'local',
+                                        name : 'freq_name',
+                                        tpl : '<div class="x-grid-cell-text x-btn button"><b>{title}</b> </div>',
+                                        triggerAction : 'all',
+                                        valueField : 'code',
+                                        width : 200,
                                         store : {
                                             xtype: 'SimpleStore',
                                             xns: Roo.data,