src/Palete/VapiParser.vala
authorEdward <edward@roojs.com>
Wed, 6 May 2015 07:52:13 +0000 (15:52 +0800)
committerEdward <edward@roojs.com>
Wed, 6 May 2015 07:52:13 +0000 (15:52 +0800)
resources/Editors/Editor.Roo.LayoutDialog.bjs
resources/Editors/Editor.Roo.LayoutDialog.js

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

index 5eb3112..dc63aeb 100644 (file)
@@ -49,7 +49,7 @@
      "* prop" : "grid",
      "items" : [
       {
-       "$ 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 fields" : "[ 'active', 'dataIndex', 'type','title', 'width', 'ftype', 'display_field' ]",
        "$ Array data" : "[\n  [ 1, 'test', 'test', 110 ]\n  \n\n]",
        "Number id" : "'dataIndex'",
        "xtype" : "SimpleStore",
index afafd1c..9bbd04a 100644 (file)
@@ -40,36 +40,7 @@ Editor.Roo.LayoutDialog = new Roo.XComponent({
        
      
      ],
-     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'
-           }
-     ],
+     fields : [ 'active', 'dataIndex', 'type','title', 'width', 'ftype', 'display_field' ],
      id : 'dataindex',
      xns : Roo.data,
      xtype : 'SimpleStore'