For anyone still looking on this one i just set the property in a
function thats run after creationComplete();
init() {
combobox.dropdown.showDataTrips = true;
}
one interesting result is that once you select an item in the combo
box, if you open it up again and try to select another item the
dataTips don't show up anymore for some reason.
Dan
--- In [email protected], Nate Hardt <[EMAIL PROTECTED]> wrote:
>
> Hello Abdul,
> Thank you for that. It looks like the dropdown is not created until
> you actually drop the combo box down and then the dropdown appears to
> be read only. When and where can I set the the showDataTips and
> dataTipField properties on the dropdown? I tried setting properties
> in a listener for DropdownEvent.OPEN but the changes did not seem to
> take.
>
> My round about way was to subclass ListData and provide my class as a
> ClassFactory in ComboBox's dropdownFactory property. Some people have
> seemed to suggest that is complicated and over kill for this sort of
> thing. I thought maybe there was a more direct route.
>
> Thanks for any help and guidance you can provide,
> Nate
>
>
> On Sep 6, 2006, at 4:05 PM, Abdul Qabiz wrote:
>
> > Hi Nate,
> >
> > ComboBox basically contains List (or ListBase), so you can get the
> > reference of list in combobox and do the same, as I posted in
> > previous mail
> >
> > comboBoxInstance.dropdown gives you the reference of the list.
> >
> >
> > -abdul
> >
> >
> > On 9/6/06, Nate Hardt <[EMAIL PROTECTED]> wrote:
> >
> > Is there a recommended way to do this for the dropdown of a
> > combobox? I can think of some round about ways but there may be a
> > simple way that I'm unfamiliar with.
> >
> > Thanks,
> > Nate
> >
> > On Sep 6, 2006, at 11:36 AM, Abdul Qabiz wrote:
> >
> >> If you set
> >>
> >> showDataTips = "true" on List component, it should show tool-tip
> >> for each row. By default "label" field of dataProvider is shown as
> >> tool-tip. In case you want to show something different, you can
> >> use either of following based on your requirement:
> >>
> >> dataTipField or dataTipFunction
> >>
> >>
> >> -abdul
> >>
> >>
> >>
> >> On 9/6/06, Yasovardhan Babu < [EMAIL PROTECTED] > wrote:
> >> Hi,
> >>
> >> I have a problem in displaying ToolTip for List Items.
> >> I need to display Tooltip for each item in the list as and when the
> >> user roll over the items.
> >> Please help me with a sample code to do this.
> >>
> >> Thanks and Regards,
> >> Yasovardhan.
> >>
> >>
> >>
> >
> >
> >
> >
>