Can i customize a custom editor by resource or another type? I found in the examples the following option for setting the editor by name in the "dataset" field:
eventEdit: {
items: {
eventTypeField: {
type: 'combo',
name: 'eventType',
label: 'Type',
weight: 110,
items: ['Appointment', 'Internal', 'Meeting']
},
locationField: {
type: 'text',
name: 'location',
label: 'Location',
weight: 120,
// This field is only displayed for meetings
dataset: {
eventType: 'Meeting'
}
}
...
}
}