日期:2014-05-16  浏览次数:20765 次

Extjs4的editGrid中的日期显示为NaN/NaN/0NaN
{
xtype: 'datecolumn',
header : 'Effective Start Date',
dataIndex : 'effectiveStartDate',
width : 150,
field : {
                xtype: 'datefield',
                allowBlank: true,
                format: 'm/d/Y'
            }
}

后台中effectiveStartDate的类型为Date,请哪位高人不吝赐教,两天了,没能解决这问题。

------解决方案--------------------
前后台时间数据的格式不一致造成的吧。
------解决方案--------------------
effectiveStartDate 的格式输出要是 "2000/1/1"