Monday, 2 September 2013

Extjs date column format

Extjs date column format

pi have date column with datefield editor. The problem is that while im
editing column it displays the normal value for example
code2013-02-05/code, but when close editing it displays something like
codeSat Jul 12 2014 00:00:00 GMT+0300 (FLE Standard Time)/code/p pMy code:
/p precode { xtype : 'datecolumn', dataIndex : 'depreciationStartPeriod',
header : 'Depreciation start period', sortable : true, id :
'depreciationStartPeriod', width : 134, editor : { xtype : 'datefield',
format: 'Y-m-d H:i:s' } }, /code/pre pstore field:/p precode { name :
'depreciationStartPeriod', type : 'String', dateFormat: 'c' }, /code/pre
pwhat the reasons could be?/p

No comments:

Post a Comment