Preview.php
[Pman.Builder] / Pman.Dialog.BuilderProp.bjs
index 4dd7b39..1909e2e 100644 (file)
@@ -1,13 +1,13 @@
 {
-    "id": "roo-file-39",
+    "id": "roo-file-190",
     "name": "Pman.Dialog.BuilderProp",
     "parent": "",
     "title": "",
-    "path": "/home/alan/gitlive/Pman.Builder/Pman.Dialog.BuilderProp.bjs",
+    "path": "/home/edward/gitlive/Pman.Builder/Pman.Dialog.BuilderProp.bjs",
     "items": [
         {
             "listeners": {
-                "show": "function (_self)\n{\n   _this.data.ds.load({});\n}"
+                "show": "function (_self)\n{\n   _this.grid.ds.load({});\n}"
             },
             "closable": false,
             "collapsible": false,
@@ -31,8 +31,7 @@
                     "fitContainer": true,
                     "fitToframe": true,
                     "region": "center",
-                    "tableName": "AutoAuth",
-                    "title": "AutoAuth",
+                    "title": "Props",
                     "xtype": "GridPanel",
                     "|xns": "Roo",
                     "items": [
@@ -49,7 +48,7 @@
                             "items": [
                                 {
                                     "listeners": {
-                                        "beforeload": "function (_self, options)\n{\n    // we should cache this!!!\n    options.params = options.params || {};\n    options.params.xtype = this.data.xtype;\n    options.params.xns = this.data.xns;\n    options.params.list = this.data.list;    \n}"
+                                        "beforeload": "function (_self, options)\n{\n    // we should cache this!!!\n    options.params = options.params || {};\n    options.params.xtype = _this.data.xtype;\n    options.params.xns = _this.data.xns;\n    options.params.list = _this.data.list;    \n}"
                                     },
                                     "*prop": "dataSource",
                                     "remoteSort": false,
@@ -81,7 +80,7 @@
                                     "header": "name",
                                     "width": 175,
                                     "xtype": "ColumnModel",
-                                    "|renderer": "function(v) { return String.format('{0}', v ? v.format('d/M/Y') : ''); }",
+                                    "|renderer": "function(v) { return String.format('{0}', v ? v : ''); }",
                                     "|xns": "Roo.grid"
                                 },
                                 {