Hi,

I've built a datagrid with a custom cell renderer to insert a 
checkbox in the first column.

I'm experiencing weird behaviour with the grid scroll as a result...

If I select a row as normal, everything's fine but if I actually 
click in the checkbox then the grid will sometimes scroll the 
current row as though it's trying to centre that row within the 
grid ?!

So if I have 5 visible rows in the grid and I check the box of the 
bottom-most, the grid scrolls to make the checked row the third from 
top!

Just selecting the bottom row causes no scroll at all (which is 
exactly what I want!).

Any ideas on how I can prevent this unwanted scrolling from 
happening ?!

The code for the cell renderer is pretty much that from page 383/384 
of the 'Developing Flex Applications' manual.

Thanks,

Jamie.




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

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