Hi,
I’m saving multiple extJS fields values as JSON into a single table column within a customer table.
I’m doing this by using a field name array syntax within the extJS window, for example
items: [{
xtype: 'textfield'
,fieldLabel: '12:00'
,name: 'times[12:00]'
,anchor: '100%'
}
,{
xtype: 'textfield'
,fieldLabel: '12:15'
,name: 'times[12:15]'
,anchor: '100%'
}
]
I’m converting the array to JSON when I save and all that’s working fine.
But how can I retrieve the value when I edited the row within the CMP. Need to changed the value some how when the window opens. I’ve tried using the value property but this only works for a default value so no good when updating.
Any ideas?