ExtJs 4 combobox with checkboxes
I actually tried this but not working for me. Kindly help.
I'm using sencha architect added a combobox then in configpanel added "Process Config" to achieve what mentioned in above link.
me.processMyComboBox({
xtype: 'combobox',
labelAlign: 'top',
value: [
'Friends',
'Trusted'
],
forceSelection: true,
multiSelect: true,
store: [
'Friends',
'Family',
'Following',
'Trusted',
'Office'
]
})
processMyComboBox: function(config) {
config.listConfig = {
getInnerTpl : function() {
return '<div class="x-combo-list-item"><img src="" class="chkCombo-default-icon chkCombo" /> {fieldName} </div>';
}
};
return config;
}
After applying above config the combobox went blank.
I tried to post screenshot but as i don't have 10 reputation, so i can't.
Thanks, Ali Abbas