Disable drag drop of specific row of a datagrid

110 views
Skip to first unread message

prashant waykar

unread,
Jan 1, 2010, 9:17:31 PM1/1/10
to Flex India Community
Hello Friends,
i want to disable the drag drop of the specific row in a datagrid.
Can someone please help me out?
Thanks in advance
Message has been deleted

Kikka

unread,
Jan 2, 2010, 3:15:19 PM1/2/10
to Flex India Community
i thnk he askd for drag and drop for a particular row.. but what the
previous reply says is about for a particular column..

u cant do that directly,, u allow drag and drop.. and once drop is
over a event will be fired.. in that event handler u can block the
drop.. or if u want to prevent drag itself. u can do tat also in the
event handler

On Jan 2, 4:25 pm, flex group <flexy.sh...@gmail.com> wrote:
> mx:DataGrid id="dg" dataProvider="{arrcol}" >
>                 <mx:columns>
>                         <mx:DataGridColumn dataField="name" draggable="false"/>
>                         <mx:DataGridColumn dataField="no"/>
>                         <mx:DataGridColumn dataField="empemail"/>
>                 </mx:columns>
> u specify on specific columan draggable=false

> > --
>
> > You received this message because you are subscribed to the Google Groups
> > "Flex India Community" group.
> > To post to this group, send email to flex_...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > flex_india+...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/flex_india?hl=en.

Reply all
Reply to author
Forward
0 new messages