Hi Kumar,

You can control the verticalScrollPosition of a DataGrid with 
actionscript.  Create a funtion that utilyzes a Timer object.  At 
the desired time interval, increment the verticalScrollPosition.

You will probably want to check to see if there are enough rows to 
scroll and if you are at the end of the list.  Also, if your 
DataGrid is selectable, the selectedIndex can be changed to 
keep the highlighted row in view.

-TH

--- In [email protected], "KP" <[EMAIL PROTECTED]> wrote:
>
> Hi All,
> 
>  
> 
> Is there any way to implement auto scroll in datagrid.
> 
>  
> 
> What I want to do is I have a datagrid of let's say 10 rows approx 
it has
> data of about 20 rows.
> 
> Now what happens is scrollbars comes for another 10 rows.
> 
> What ideally should happen is it should first show 10 rows and 
after few
> seconds it should start auto scroll upwards.
> 
>  
> 
> If any body has done like this please suggest. It will be helpful.
> 
>  
> 
> Thanks
> 
> Kumar
>






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to