i'm making extjs component, , want use quicktips tooltip. if make element using domhelper, can set tooltip, no sweat. if, however, make component, like
new boxcomponent({ qtip: "this tip" });
nothing happens. i've tried naming property "tooltip", no luck. there right way this? hack have in place works is
new boxcomponent({ qtip: "this tip", listeners: { rendered: function(c){ ext.quicktips.register({ target: c.getel(), text: c.qtip } } });
i feel can't right. guess extend component automatically, seems common enough case should able without poking under hood this.
i think you're doing absolutely right. don't see need quicktips in arbitrary components, particularly in containers, since might lead multiple tooltips within same component.
Comments
Post a Comment