resources/Editors/Editor.Roo.LayoutDialog.bjs
authorEdward <edward@roojs.com>
Wed, 6 May 2015 07:39:42 +0000 (15:39 +0800)
committerEdward <edward@roojs.com>
Wed, 6 May 2015 07:39:42 +0000 (15:39 +0800)
resources/Editors/Editor.Roo.LayoutDialog.js

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

index 2425be8..acd5210 100644 (file)
@@ -49,7 +49,7 @@
      "* prop" : "grid",
      "items" : [
       {
-       "$ Array fields" : "[ 'active', 'dataIndex', 'type','title', 'width', 'ftype', 'display_field' ]",
+       "$ Array fields" : "[\n      {\n          'name': 'active',\n          'type': 'boolean'\n      },\n      {\n          'name': 'dataIndex',\n          'type': 'string'\n      },\n      {\n          'name': 'type',\n          'type': 'string'\n      },\n      {\n          'name': 'title',\n          'type': 'string'\n      },\n      {\n          'name': 'width',\n          'type': 'int'\n      },\n      {\n          'name': 'ftype',\n          'type': 'string'\n      },\n      {\n          'name': 'display_field',\n          'type': 'string'\n      }\n]",
        "$ Array data" : "[\n  [ 1, 'test', 'test', 110 ]\n  \n\n]",
        "Number id" : "'dataIndex'",
        "xtype" : "SimpleStore",
index d8dbf51..4295fd6 100644 (file)
@@ -40,7 +40,36 @@ Editor.Roo.LayoutDialog = new Roo.XComponent({
        
      
      ],
-     fields : [ 'active', 'dataIndex', 'type','title', 'width', 'ftype', 'display_field' ],
+     fields : [
+           {
+               'name': 'active',
+               'type': 'boolean'
+           },
+           {
+               'name': 'dataIndex',
+               'type': 'string'
+           },
+           {
+               'name': 'type',
+               'type': 'string'
+           },
+           {
+               'name': 'title',
+               'type': 'string'
+           },
+           {
+               'name': 'width',
+               'type': 'int'
+           },
+           {
+               'name': 'ftype',
+               'type': 'string'
+           },
+           {
+               'name': 'display_field',
+               'type': 'string'
+           }
+     ],
      id : 'dataindex',
      xns : Roo.data,
      xtype : 'SimpleStore'