"I haven't changed it as it works and I have plenty of other stuff to
be getting on with!"

Is this the response that we should all expect from someone asking
questions? I took time out of *my* day to lend a helping hand. So that you
might learn from my experience. I pointed out something that did not make
sense to me.



Your response of “ it works and I have plenty of other stuff to be getting
on with!” is interesting, in the fact that I have other things to be getting
on with as well.

cheers.

jason


  -----Message d'origine-----
  De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de durnelln
  Envoyé : vendredi 16 mars 2007 13:40
  À : flexcoders@yahoogroups.com
  Objet : [flexcoders] Re: Datagrid Button Renderer Performance


  --- In flexcoders@yahoogroups.com, "Jason Hawryluk" <[EMAIL PROTECTED]> wrote:
  >
  > Personally I have a huge preference for AS only itemrenderers
  however that
  > said, at first glance I would ask why are you adding a event
  listener when
  > the button has this built in?

  My button renderer listens for the click event and then dispatches a
  custom event containing the row data and the renderer's configured
  action string. I guess there could be a cleaner way of doing this
  (overrinding the button's clickHandler method?) but I must admit that
  I haven't changed it as it works and I have plenty of other stuff to
  be getting on with!

  > As for the updateDisplayList, I suggest you read up on what it's
  for and
  > just how important it is…

  I understand what updateDisplayList does. I am simply confused as to
  why all the button renderers are being continually redrawn when their
  size, position and visual appearance haven't changed!

  Nick.



  

Reply via email to