I have 5 split scheduler showing in a page, and each scheduler will able to show the edtiorform, so i need to dynamically assign the id value (which should be 5 unique value) of the combo field in the editorform which defined in fieldsPanelConfig like below:
fieldsPanelConfig : {
layout : 'container',
style : 'margin-left : 6px; top: 10px',
border : false,
cls : 'editorpanel',
labelAlign : 'top',
items : [
allocationField = new Ext.form.field.ComboBox({
name : 'allAllocations',
fieldLabel : 'All Allocations',
id : 'editor_allAllocations',
forceSelection : false,
valueField : 'AllocationId',
displayField : 'AllocationDetail',
}),
]
}
allocationField = new Ext.form.field.ComboBox({
name : 'allAllocations',
fieldLabel : 'All Allocations',
id : 'editor_allAllocations'+me.id,
forceSelection : false,
valueField : 'AllocationId',
displayField : 'AllocationDetail',
}),
Kind regards
Stanley