Pman.Dialog.CoreCompanies.bjs
[Pman.Core] / Pman.Dialog.CoreCompanies.js
index 6bd5d3e..9a7cc79 100644 (file)
@@ -151,12 +151,12 @@ Pman.Dialog.CoreCompanies = {
                                                 }
                                             },
                                             alwaysQuery : true,
-                                            displayField : 'name',
+                                            displayField : 'comptype_name',
                                             editable : 'false',
-                                            emptyText : "Select pulldown",
+                                            emptyText : "Select Type",
                                             fieldLabel : 'Type',
                                             forceSelection : true,
-                                            listWidth : 400,
+                                            listWidth : 250,
                                             loadingText : "Searching...",
                                             minChars : 2,
                                             pageSize : 20,
@@ -166,8 +166,8 @@ Pman.Dialog.CoreCompanies = {
                                             tpl : '<div class="x-grid-cell-text x-btn button"><b>{name}</b> </div>',
                                             triggerAction : 'all',
                                             typeAhead : false,
-                                            valueField : 'name',
-                                            width : 300,
+                                            valueField : 'val',
+                                            width : 200,
                                             store : {
                                                 xtype: 'Store',
                                                 xns: Roo.data,