Pman.Dialog.CoreAutoSavePreview.bjs
[Pman.Core] / Pman.Dialog.CoreAutoSavePreview.bjs
index fbcb486..8c68dd7 100644 (file)
@@ -1,5 +1,5 @@
 {
-    "id": "roo-file-348",
+    "id": "roo-file-208",
     "name": "Pman.Dialog.CoreAutoSavePreview",
     "parent": "",
     "title": "",
@@ -25,7 +25,7 @@
                 {
                     "*prop": "west",
                     "split": true,
-                    "width": 300,
+                    "width": 200,
                     "xtype": "LayoutRegion",
                     "|xns": "Roo"
                 },
@@ -47,7 +47,7 @@
                                 "|render": "function() { \n    _this.grid = this; \n    //_this.dialog = Pman.Dialog.FILL_IN\n    if (_this.panel.active) {\n       this.footer.onClick('first');\n    }\n}"
                             },
                             "*prop": "grid",
-                            "autoExpandColumn": "remarks",
+                            "autoExpandColumn": "event_when",
                             "loadMask": true,
                             "xtype": "Grid",
                             "|xns": "Roo.grid",
                                     "xtype": "ColumnModel",
                                     "|renderer": "function(v) { return v ? v.dateFormat('d/m/Y H:i') : ''; }",
                                     "|xns": "Roo.grid"
-                                },
-                                {
-                                    "*prop": "colModel[]",
-                                    "dataIndex": "on_table",
-                                    "header": "Affected",
-                                    "width": 100,
-                                    "xtype": "ColumnModel",
-                                    "|renderer": "function(v) {                     \n    return String.format('{0})', v ? v : '');  \n}",
-                                    "|xns": "Roo.grid"
                                 }
                             ]
                         }
                     "listeners": {
                         "render": "function (_self)\n{\n    _this.viewPanel = _self;\n}"
                     },
+                    "background": false,
+                    "fitContainer": true,
+                    "fitToFrame": true,
+                    "region": "center",
                     "xtype": "ContentPanel",
                     "|xns": "Roo"
                 },