When I double-click a record for editing, it doesn't fill the date picker (i.e. the date picker shows blank, even though the record has the value).
I have searched a lot, but didn't get any fix.
Anyone has any idea...?
I can't tell if you have this already... but you need to make sure that the column editor is configured properly, for example:
columns: [{
// column 1 - NAME
header: 'Name',
dataIndex: 'the_name',
flex: 1
}, {
// column 2 - DATE
xtype: 'datecolumn',
header: 'Date',
dataIndex: 'the_date',
width: 90,
editor: {
xtype: 'datefield',
allowBlank: true,
format: 'm/d/Y',
}
}, {
// column 3...
}],
//other grid configs...
Probably your 'the_date' field is not configured as 'date' in the model/store configuration.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With