I have a dynamic form in extjs and i want to add tooltip to some elements of the form.
widget = {
width: 100,
title: name,
margin: '0 0 0 0',
id: id
}
that my widget that i want to add tooltip.
I have already tried adding listener to widget but it didnt work
listeners: {
render: function(c) {
Ext.create('Ext.tip.ToolTip', {
target: c.getEl(),
html: c.tip
});
}
}
thats what i have already tried.
thanks in advance.