Merhaba,
UniPropertyGrid de aşağıdaki gibi bir konfigürasyon tanımladım. MaxDate ve MinDate değeri ProperyChange event ına düştüğünde PropValue 'Tue Nov 21 2017 00:00:00 GMT+0300 (Turkey Standard Time)' gibi bir değer döndürüyor. Bunu yyyy.mm.dd gibi döndürmek mümkün mü ?
submitFormat ve formatText parametrelerini denedim. Durum değişmedi.
function beforeInit(sender, config)
{
config.sourceConfig =
{
DateFormat: {editor: Ext.create('Ext.form.field.ComboBox', {
store: [ 'dd.MM.yyyy', 'dd.MMM.yyyy, ddd', 'yyyy-MM.dd HH:mm'],
queryMode: 'local'
}) },
DateMode: {editor: Ext.create('Ext.form.field.ComboBox', {
store: [ 'dtmDateOnly', 'dtmDateTime'],
queryMode: 'local'
}) },
Kind: {editor: Ext.create('Ext.form.field.ComboBox', {
store: [ 'tUniDate', 'tUniDateTime','tUniTime'],
queryMode: 'local'
}) },
MaxDate: {editor: Ext.create('Ext.form.field.Date', { formatText:'Y.m.d', submitFormat:'Y.m.d' }) },
MinDate: {editor: Ext.create('Ext.form.field.Date', { formatText:'Y.m.d', submitFormat:'Y.m.d' }) },
GridMode:{editor: Ext.create('Ext.form.field.ComboBox', {
store: [ 'lgmPostKeyValue', 'lgmPostListValue'],
queryMode: 'local'
}) },
ListOnlyMode:{editor: Ext.create('Ext.form.field.ComboBox', {
store: [ 'lmNoFollow', 'lmFollowSource'],
queryMode: 'local'
}) },
Style:{editor: Ext.create('Ext.form.field.ComboBox', {
store: [ 'csDropDown', 'csDropDownList','csOwnerDrawFixed', 'csOwnerDrawVariable', 'csSimple'],
queryMode: 'local'
}) },
}
}