--- In [email protected], "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