For some reason it’s not working anymore but I heavily changed my datagrid. It had a custom inline cellrenderer with a HBox and binded checkbox/Boolean. I then had a Change property that would go through the dataprovider then do dataprovider.selectedIndices = an array I created. If I removed the change property, it would stop that scrolling – if I added it, it’d return. The change function was only 4 lines with a “for” loop and setting the selectedIndices at the end…so I think it has to do with using selectedindices and maybe multipleselection=true. I’d go back but it’s further back in my history than it remembers and I’m on a deadline with the project L

Hope this helps though…

_________________________________________

Jonathan Miranda

Flexible Master of the Web

"In the game of chess, it's important to never let your opponent see your pieces."

 

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Manish Jethani
Sent: Friday, February 10, 2006 11:33 AM
To: [email protected]
Subject: Re: [flexcoders] Another bug to log

 

On 2/10/06, Jonathan Miranda <[EMAIL PROTECTED]> wrote:

> When I add a "change" property to my DataGrid, it now allows the Datagrid to scroll up and down when the mouse is moved off the top or bottom of the datagrid. Very weird, but try it. I've got a Datagrid of 50 records with one custom cellrenderer (nothing special), and now moving the mouse off the top or bottom of the datagrid scrolls it.

Can you give a simple example with the exact steps to reproduce the problem?



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




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to