摘要: 在Grid中显示时间,后台传过来的是date格式的数据(PHP date('Y-m-d', time()),一般在Ext model中定义数据的类型和格式: {name:'birth', type:'date'}, view层: { header: '生日', dataIndex: 'birth', editor:{ xtype: 'datefield', format : 'Y-m-d'}} 阅读全文
posted @ 2014-07-15 17:28 恶魔的果实 阅读(6714) 评论(1) 推荐(0) 编辑