Hi,
 
you may override the method scrollVertically from the dataGrid. When you scroll 
the mouse, it dispatch an even with the "delta", telling you how "fast" was the 
scroll.
 
And calling the super.scrollVertically() with an fixed delta = 1.

________________________________

De: [email protected] [mailto:[EMAIL PROTECTED] Em nome de bigbb_kimo
Enviada em: terça-feira, 1 de abril de 2008 10:01
Para: [email protected]
Assunto: [flexcoders] How to change the mouse scroll range of datagrid 
component?



Hi dear all

I have a datagrid with information from web service. Each row of the
datagrid fulfill the screen, so each time only one row will represent
in the screen. 

However, I find that when I use the scroll button of my mice to browse
the datagrid, it scroll down two rows, and display the 3rd row after
my current row.

Can I applied some scroll policy to make it scroll down one row each time?



 

Reply via email to