You can use selected.indexNumber and restrict like if indexNumber ==1.
then column can be drag.
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 <abhishekche...@gmail.com> wrote:
> hey frnd,
> which event we can use to track dragging in ADG?
> :)
>
> On Dec 25, 11:02 am, ManInAction <manesh.bahug...@gmail.com> wrote:
>
>
>
> > Hi,
>
> > You can use selected.indexNumber and restrict like if indexNumber ==1.
> > then column can bedrag.
>
> > On Dec 24, 4:49 pm, abhishekchess1 <abhishekche...@gmail.com> 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 -