Hello,
I have written a combo box populated with items in ExtJs framework. I could not able to get the tooltips when the user hovers over the items.
Below is the code:
$formPanel .= " new Ext.form.ComboBox({
tpl:'<tpl for =\".\"><div ext:qtip=\"{abbr}\" class=\"x-combo-list-item\">{state}</div></tpl>',
id:'type_blackout_weekly',
store: sstore,
displayField:'state',
typeAhead: true,
mode: 'local',
triggerAction: 'all',
emptyText:'Select a state...',
selectOnFocus:true,
forceSelection: true,
width:135
}),";
var statedata = [
['AL', 'Alabama'],
['AK', 'Alaska'],
['AZ', 'Arizona'],
['WV', 'West Virginia'],
['WI', 'Wisconsin'],
['WY', 'Wyoming']
];
var sstore = new Ext.data.SimpleStore({
fields: ['abbr', 'state'],
data : statedata
});
Any guidance is highly appreciated.