thanks for your reply
but my problem is different.



On Thu, Apr 21, 2011 at 11:24 AM, MIDHUN TM <[email protected]> wrote:

> hii
>    You need to use the "verticalScrollPosition" property of the
> datagrid to move the scroll down and up. You can set and get the
> property using 'verticalScrollPosition' of the datagrid. Happy Coding
>
> Regards
> Midhun
>
> On Thu, Apr 21, 2011 at 9:40 AM, Malek S <[email protected]> wrote:
> > HI,
> > I am facing a problem . My scenario is i have datagrid and two buttons(up
> > and down).
> > Now my requriement is i want to move datagrid up and down on click of
> > respective button.
> >
> > on click of  button i have written a funtion MoveRowUp('up')
> >
> > and the function has to scroll the datagrid.
> > Can some body help in doing it.
> >
> >
> > private function MoveRowUp(direction:string):void {
> >
> >       //create new grid and assign id of your grid
> >      var grid:Datagrid = dg;
> >      var sIndex:Number = dg.selectedIndex.
> >
> >   // how toget the row and subsequenty scroll the datagrid.
> >
> >
> > }
> >
> > --
> > 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.
> >
>
> --
> 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.
>
>

-- 
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.

Reply via email to