setValue is creating too many objects. Every
time it is called it is creating the disclosure icon and the label when in
reality it should only create those once and then subsequently change those
properties as appropriate. There is probably a memory leak as the oldversions
aren’t being destroyed and the flicker is because you’re seeingthe
new objects get created (you’ll notice that the normal cells onthe
right don’t flicker). setValue gets called a ton (every time the mouse
enters and exits) so it needs to be more efficient.
Matt
From: dhiren9
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 02, 2005
3:41 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Making
any datagrid cell appear as a header
Never mind, I found some examples in the Live
Docs. I'd like to find
out why the cells refresh so badly on this example
below though. Any
ideas?
http://groups.yahoo.com/group/flexcoders/message/10410
Thanks.
--- In flexcoders@yahoogroups.com,
"dhiren9" <[EMAIL PROTECTED]> wrote:
>
> Thanks Matt. Are there any examples outthere
from Macromedia on
> writing a custom cell renderer. Did youguys
get a chance to check
> out this one? Its got some issues the author
outlines, any ideas
on
> how to fix them?
>
> http://groups.yahoo.com/group/flexcoders/message/10410
>
> Thanks.
>
> --- In flexcoders@yahoogroups.com,
Matt Chotin <[EMAIL PROTECTED]>
wrote:
> > Yep, a custom cell renderer (it can
simply be a Label). You
could
> give it
> > the same style as your column's
headerStyle.
> >
> >
> >
> > Matt
> >
> >
> >
> > _____
> >
> > From: dhiren9 [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, March 01, 2005 8:07PM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Making any
datagrid cell appear as a header
> >
> >
> >
> >
> > How do I change the appearance of a datagrid
cell to look
exactly
> > like the header cell? I realize this
will not have the
> functionality
> > of the header cell such as sortingetc.,
just the look and feel.
> >
> > Do I have to write a new cell renderer?
> >
> > Thx.
> >
> >
> >
> >
> >
> >
> >
> >
> > Yahoo! Groups Sponsor
> >
> >
> >
> > ADVERTISEMENT
> >
> >
>
<http://us.ard.yahoo.com/SIG=129lkrc94/M=298184.6018725.7038619.30011
> 76/D=gr
> >
>
oups/S=1705007207:HM/EXP=1109812021/A=2593423/R=0/SIG=11el9gslf/*http
> :/www.n
> > etflix.com/Default?mqso=60190075>
click here
> >
> >
> >
> > <http://us.adserver.yahoo.com/l?
> M=298184.6018725.7038619.3001176/D=groups/S=
> > :HM/A=2593423/rand=928282889>
> >
> >
> >
> > _____
> >
> > Yahoo! Groups Links
> >
> > * Tovisit
your group on the web, go to:
> > http://groups.yahoo.com/group/flexcoders/
> > <http://groups.yahoo.com/group/flexcoders/>
> >
> > * To
unsubscribe from this group, send an email to:
> > [EMAIL PROTECTED]
> >
<mailto:[EMAIL PROTECTED]
> subject=Unsubscribe>
> >
> > * Your use
of Yahoo! Groups is subject to the Yahoo!
> > <http://docs.yahoo.com/info/terms/>
Terms of Service.
|