resources/Editors/Editor.Roo.LayoutDialog.bjs
authorAlan Knowles <alan@roojs.com>
Fri, 24 Apr 2015 09:23:53 +0000 (17:23 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 24 Apr 2015 09:23:53 +0000 (17:23 +0800)
resources/Editors/Editor.Roo.LayoutDialog.js

resources/Editors/Editor.Roo.LayoutDialog.bjs
resources/Editors/Editor.Roo.LayoutDialog.js

index 88197a0..f717f8e 100644 (file)
@@ -48,7 +48,7 @@
      "* prop" : "grid",
      "items" : [
       {
-       "$ Array fields" : "[ 'active', 'dataIndex', 'type','title', 'width' ]",
+       "$ Array fields" : "[ 'active', 'dataIndex', 'type','title', 'width', 'ftype', 'display_field' ]",
        "$ Array data" : "[\n  [ 1, 'test', 'test', 110 ]\n  \n\n]",
        "Number id" : "'dataIndex'",
        "xtype" : "SimpleStore",
       {
        "xtype" : "ColumnModel",
        "header" : "Display Field",
-       "width" : 75,
+       "width" : 150,
        "$ renderer" : "function(v) { return String.format('{0}', v); }",
        "$ xns" : "Roo.grid",
        "* prop" : "cm[]",
-       "dataIndex" : "ftype",
+       "dataIndex" : "display_field",
        "items" : [
         {
          "xtype" : "GridEditor",
index 31d561d..632440c 100644 (file)
@@ -39,7 +39,7 @@ Editor.Roo.LayoutDialog = new Roo.XComponent({
        
      
      ],
-     fields : [ 'active', 'dataIndex', 'type','title', 'width' ],
+     fields : [ 'active', 'dataIndex', 'type','title', 'width', 'ftype', 'display_field' ],
      id : 'dataindex',
      xns : Roo.data,
      xtype : 'SimpleStore'
@@ -223,10 +223,10 @@ Editor.Roo.LayoutDialog = new Roo.XComponent({
 
        },
        '|xns' : 'Roo.grid',
-       dataIndex : 'ftype',
+       dataIndex : 'display_field',
        header : _this._strings['793548e77e782c209a78ed67f255b5e2'],
        renderer : function(v) { return String.format('{0}', v); },
-       width : 75,
+       width : 150,
        xns : Roo.grid,
        xtype : 'ColumnModel',
        items : [