Looks like it is called on every mouseMove.  I would add code to
remember the uid of the itemRenderer's data and not draw if it is the
same as last time.  It appears to be fixed in 3.0

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of ben.clinkinbeard
Sent: Thursday, November 08, 2007 10:08 AM
To: [email protected]
Subject: [flexcoders] Re: Why is drawHighlightIndicator() called
multiple times?

 

2.0.1 HF1

--- In [email protected] <mailto:flexcoders%40yahoogroups.com>
, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> Which version?
> 
> 
> 
> ________________________________
> 
> From: [email protected] <mailto:flexcoders%40yahoogroups.com>
[mailto:[email protected] <mailto:flexcoders%40yahoogroups.com>
] On
> Behalf Of ben.clinkinbeard
> Sent: Thursday, November 08, 2007 7:40 AM
> To: [email protected] <mailto:flexcoders%40yahoogroups.com> 
> Subject: [flexcoders] Why is drawHighlightIndicator() called multiple
> times?
> 
> 
> 
> When rolling over a DataGrid, drawHighlightIndicator() seems to get
> called several times (6 or 7 usually) if the mouse is over any column
> but the first. This is a problem when trying to animate the highlight.
> Any explanation of why this happens and/or workarounds would be
> appreciated.
> 
> Thanks,
> Ben
>

 

Reply via email to