i have the same problem !

On 7/25/05, jamiebadman <[EMAIL PROTECTED]> wrote:
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






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




Reply via email to