Hi,

Could you bind the selectable property of the control to a
corresponding property of the objects in your dataProvider? In effect
something like:

<... id="list" selectable="{list.selectedItem.selectable}" ...>

Seems like the hassle-free way of dealing with it...

-Ciarán



On 3/16/07, Paul DeCoursey <[EMAIL PROTECTED]> wrote:
> I have the same problem except in a datagrid.  I eventually gave up
> because I could not find a solution. I'll admit I didn't spend much
> time on it, a few hours maybe.  My initial idea was that I could
> preventDefault on the itemClick event and that would stop it from
> being selected, but that didn't work.  I also tried to update the
> selectedItems removing the items that I didn't want to allow selection
> on, and that failed.  I was hoping to look at it more next week, I had
> a deadline today and had to move on to more important things.
>
>
>
> --- In [email protected], "metalbeard" <[EMAIL PROTECTED]> wrote:
> >
> > Hi There,
> >
> > Is there any way that we can disable the selection for only some
> > specific items inside a tree.
> >
> > Am trying to make the selectable property of the tree =false when the
> > mouse rolls over the unwanted item then make it ture when it is rolled
> > out but that didn't work.
> >
> > Do you have any ideas?
> >
>
>
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>
>
>
>

Reply via email to