hi,
try this
AdvDataGridHeaderRendererExtended{
close-button-style:closeGridColumnImg;
}
.closeGridColumnImage{
icon:Embed(source="../icon/assets.swf", symbol="ITEM_CLOSE_UP");
}
i think you override the createchildren method
so make a button or whatever you want
define in style tag
[Style(name="closeButtonStyle", type="String", inherit="no")]
abcButton= new LinkButton();
abcButton.height = 15;
abcButton.width = 15;
abcButton.x = this.width - 15;
abcButton.styleName = getStyle('closeButtonStyle');
this.addChildAt(closeButton,1);
again if you any issue contact me.
Thanks
On Jun 25, 9:20 pm, sandeep reddy <[email protected]> wrote:
> Hi,
>
> I have a custom advanced datagrid header renderer( extends
> AdvancedDatagridHeaderRenderer) which has a image in it. So my problem is i
> need to control the source for the image through a CSS?
>
> I am able to do this with the type selector. But how can I do this with a
> Class selector in CSS?
> --
> Thanks
> Sandeep
--
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en.