From 30f9dfd8d8c58235f504b93cf3488a221bf7233e Mon Sep 17 00:00:00 2001 From: Edward Date: Thu, 8 May 2014 17:05:32 +0800 Subject: [PATCH] Pman.Dialog.CoreAutoSavePreview.bjs Pman.Dialog.CoreAutoSavePreview.js --- Pman.Dialog.CoreAutoSavePreview.bjs | 11 +---------- Pman.Dialog.CoreAutoSavePreview.js | 12 +----------- 2 files changed, 2 insertions(+), 21 deletions(-) diff --git a/Pman.Dialog.CoreAutoSavePreview.bjs b/Pman.Dialog.CoreAutoSavePreview.bjs index 314e68cd..ccc86684 100644 --- a/Pman.Dialog.CoreAutoSavePreview.bjs +++ b/Pman.Dialog.CoreAutoSavePreview.bjs @@ -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", @@ -107,15 +107,6 @@ "xtype": "ColumnModel", "|renderer": "function(v) { return v ? v.dateFormat('d/m/Y H:i') : ''; }", "|xns": "Roo.grid" - }, - { - "*prop": "colModel[]", - "dataIndex": "remarks", - "header": "Parts", - "width": 100, - "xtype": "ColumnModel", - "|renderer": "function(v) { \n return String.format('{0})', v ? v : ''); \n}", - "|xns": "Roo.grid" } ] } diff --git a/Pman.Dialog.CoreAutoSavePreview.js b/Pman.Dialog.CoreAutoSavePreview.js index 287a3344..2d3cc5f8 100644 --- a/Pman.Dialog.CoreAutoSavePreview.js +++ b/Pman.Dialog.CoreAutoSavePreview.js @@ -68,7 +68,7 @@ Pman.Dialog.CoreAutoSavePreview = { } } }, - autoExpandColumn : 'remarks', + autoExpandColumn : 'event_when', loadMask : true, sm : { xtype: 'RowSelectionModel', @@ -241,16 +241,6 @@ Pman.Dialog.CoreAutoSavePreview = { header : 'Date', width : 100, renderer : function(v) { return v ? v.dateFormat('d/m/Y H:i') : ''; } - }, - { - xtype: 'ColumnModel', - xns: Roo.grid, - dataIndex : 'remarks', - header : 'Parts', - width : 100, - renderer : function(v) { - return String.format('{0})', v ? v : ''); - } } ] } -- 2.39.2