{ header : "开始时间", dataIndex : 'start_date', css : 'background: #AAC2EA;', width : 125, sortable : true, editor : new Ext.form.DateField(), renderer : function(value) { if (value instanceof Date) { return new Date(value).format("Y-m-d H:i:s"); } else { return value; } } }