The issue is the cursor motion over the datagrid under the Panel. There is a
trick here that can work.

Put the datagrid into an mx:Canvas, then put a rect stacked over the
DataGrid in depth. Via ActionScript, hack a onMouseDown = function(){} into
the rect by name. When you display your panel, make the rect visible
otherside make it invisible. This will block cursor access to the DataGrid
and stop all the mouse events from firing in the background since the rect
surface intercepts them.

This is clearly a hack, but it will block access to the mouse events driving
the datagrid refresh logic and thus speed up the player when the panel is
displayed.

Let me code this up as an example and post it for review.

Cheers,

Ted ;)

> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of nextadvantage
> Sent: Friday, July 01, 2005 6:35 PM
> To: [email protected]
> Subject: [flexcoders] Re: Performance.... Data Grid
> 
> --- In [email protected], "Theodore E Patrick" <[EMAIL PROTECTED]> 
> wrote:
> 
> Thanks Ted, yes we are using cell renderer for an edit and preview
> icon and are using label functions for formating. Sucks... :)
> 
> 
> > Does the Datagrid row have a 'labelFunction' or 'cellRenderer' in it?
> >
> > These force an update the DataGrid when the cursor of over the DataGrid
> > content. The datagrid might be doing a ton of work as you draw a pop-up
> > panel over the datagrid.
> >
> > Also tracing anything in labelFunction is a good way to drop your
> framerate
> > to 1-2 fps.
> >
> > I have seen this happen time and time again in V2 controls.
> >
> > Ted ;)
> >
> >
> > > We are seeing very poor frame rates opening popup panels on top of
> > > data grids. Anyone else have this issue and any way to improve the
> > > performance?
> 
> 
> 
> 
> --
> 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

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