Hi,
You can override shiftColumns function of Advanced Data grid.
override mx_internal function shiftColumns(oldIndex:int,
newIndex:int,
trigger:Event = null):void
{
if(newIndex == 0 || oldIndex == 0)
{
// Do nothing
}
else
{
super.shiftColumns(oldIndex,newIndex,trigger);
}
}
With regards,
Raj
On Dec 27, 6:34 pm, abhishekchess1 <[email protected]> wrote:
> hey frnd,
> which event we can use to track dragging in ADG?
> :)
>
> On Dec 25, 11:02 am, ManInAction <[email protected]> wrote:
>
>
>
> > Hi,
>
> > You can use selected.indexNumber and restrict like if indexNumber ==1.
> > then column can bedrag.
>
> > On Dec 24, 4:49 pm, abhishekchess1 <[email protected]> wrote:
>
> > > hey frnd,
> > > i'm using ADG to show data .
> > > I want to allow user todraganycolumnsand drop on other column tht
> > > why swapping ofcolumnswill be happen.
> > > But only restrict user todragfirst column. How can i do it in Flex
> > > 3 ?
> > > Is any way there?
> > > thx inadvanced,
> > > :)- Hide quoted text -
>
> - Show quoted text -
--
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en.