On Apr 11, 2005 3:34 AM, digital_eyezed <[EMAIL PROTECTED]> wrote:

> Sorry I can't see how this helps, this shows how to drag and drop
> columns on a datagrid, which is not the same as having an icon in the

Okay, I thought you didn't know about header renderers, so I pointed
you to that example.  It turns out you already have a header
renderer...

> import mx.controls.Label;
> class refreshRenderer extends mx.controls.Label{
>    var lbl : MovieClip;
>    var listOwner : MovieClip; //Reference to the parent DataGrid.

If you want an icon, make the renderer based on a HBox instead of a
Label, and put an Image and a Label in there.  (BTW, why are you
creating a label inside a label?)

-- 
[EMAIL PROTECTED]
http://manish.revise.org/


 
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