Builder/Provider/Database/generate.js
authorAlan Knowles <alan@akbkhome.com>
Fri, 23 Jul 2010 09:21:30 +0000 (17:21 +0800)
committerAlan Knowles <alan@akbkhome.com>
Fri, 23 Jul 2010 09:21:30 +0000 (17:21 +0800)
Builder/Provider/Database/generate.js

index 5c9735f..82157cc 100644 (file)
@@ -284,7 +284,7 @@ tables.forEach(function(table) {
         selectOnFocus: true,
         tirggerAction : 'all',
         typeAhead: true,
-        valueField : id,
+        valueField : 'id',
         width: 300,
         tpl : '<div class="x-grid-cell-text x-btn button"><b>{name}</b> </div>', // SET WHEN USED
         queryParam : '',// SET WHEN USED