Pman.Dialog.CoreAutoSavePreview.bjs
authorEdward <edward@roojs.com>
Thu, 8 May 2014 09:28:23 +0000 (17:28 +0800)
committerEdward <edward@roojs.com>
Thu, 8 May 2014 09:28:23 +0000 (17:28 +0800)
Pman.Dialog.CoreAutoSavePreview.js

Pman.Dialog.CoreAutoSavePreview.bjs
Pman.Dialog.CoreAutoSavePreview.js

index c38e561..1d6610d 100644 (file)
                                     "|xns": "Roo"
                                 },
                                 {
-                                    "xtype": "ColumnModel",
+                                    "*prop": "colModel[]",
+                                    "dataIndex": "event_when",
                                     "header": "Created",
                                     "width": 75,
-                                    "dataIndex": "created",
+                                    "xtype": "ColumnModel",
                                     "|renderer": "function(v) { return String.format('{0}', v ? v.format('d/M/Y') : ''); }",
-                                    "|xns": "Roo.grid",
-                                    "*prop": "colModel[]"
+                                    "|xns": "Roo.grid"
                                 }
                             ]
                         }
index 8b66990..fd1626b 100644 (file)
@@ -119,9 +119,9 @@ Pman.Dialog.CoreAutoSavePreview = {
                             {
                                 xtype: 'ColumnModel',
                                 xns: Roo.grid,
+                                dataIndex : 'event_when',
                                 header : 'Created',
                                 width : 75,
-                                dataIndex : 'created',
                                 renderer : function(v) { return String.format('{0}', v ? v.format('d/M/Y') : ''); }
                             }
                         ]