check out this post

http://blog.flexmonkeypatches.com/2008/03/24/nested-item-renderers-with-scrollbars-and-drag-and-drop-enabled-scroll-dont-drag-please/

it describes a similar problem and i think it might help with what you are
trying to do.  the idea is to use stopImmediatePropogation() to not trigger
the drag of the main list from the item renderer.

d.

On Wed, Apr 16, 2008 at 1:22 PM, tchredeemed <[EMAIL PROTECTED]> wrote:

>   problem is that im not implementing the drag, the List is
>
>
> --- In [email protected] <flexcoders%40yahoogroups.com>, "Douglas
> Knudsen" <[EMAIL PROTECTED]> wrote:
> >
> > try capturing whether a drag can occur based on a mouseOver maybe. eg,
> > onMouserOver set canDrag = true if NOT over the footer. Then in your
> drag
> > handler check this to see if drag is allowed or not. This technique I
> use
> > usually to make sure the user clicks on the actual object to be dragged,
> but
> > not outside the object.
> >
> > DK
> >
> > On Wed, Apr 16, 2008 at 9:43 AM, tchredeemed <[EMAIL PROTECTED]> wrote:
> >
> > > any ideas?
> > >
> > >
> > > --- In [email protected] 
> > > <flexcoders%40yahoogroups.com><flexcoders%
> 40yahoogroups.com>,
> > > "tchredeemed" <apthorp@> wrote:
> > > >
> > > > I have a list that has an itemRenderer.
> > > >
> > > > The footer of the itemRenderer can be dragged up or down in order to
> > > show/hide data.
> > > >
> > > > I want to be able to drag that without triggering the dragHandler
> for
> > > the list.
> > > >
> > > > In other words, I want to be able to drag an item from anywhere
> except
> > > the footer to move
> > > it
> > > > inside the list, but if i drag from the footer, i do not want it to
> > > trigger.
> > > >
> > > > Any ideaS?
> > > >
> > >
> > >
> > >
> >
> >
> >
> > --
> > Douglas Knudsen
> > http://www.cubicleman.com
> > this is my signature, like it?
> >
>
>  
>

Reply via email to