Pman.Tab.AdminProjectManager.js
authorAlan Knowles <alan@akbkhome.com>
Fri, 25 Feb 2011 07:23:58 +0000 (15:23 +0800)
committerAlan Knowles <alan@akbkhome.com>
Fri, 25 Feb 2011 07:23:58 +0000 (15:23 +0800)
Pman.Tab.AdminProjectManager.js

index b040dbd..977fd4d 100644 (file)
@@ -572,10 +572,10 @@ Pman.Tab.AdminProjectManager = new Roo.util.Observable({
                                 {
                                     xtype: 'ColumnModel',
                                     xns: Roo.grid,
+                                    dataIndex : 'type',
                                     header : 'Type',
                                     width : 200,
-                                    dataIndex : 'type',
-                                    renderer : function(v) { return String.format('{0}', v); }
+                                    renderer : function(v) { return _this.grid.typeToString(v);}
                                 },
                                 {
                                     xtype: 'ColumnModel',