Hi You can use headerRenderer for adding an icon to datagrid header
Like this way <mx:DataGridColumn width="150" dataField="YourField" headerRenderer="DGHeaderRenderer"/> And then you can define your custom renderer as bellow <?xml version="1.0" encoding="utf-8"?> <mx:HBox xmlns:mx="http://www.adobe.com/2006/mxml" width="400" height="300"> <mx:Script> <![CDATA[ [Embed(source="assets/icon.jpg")] [Bindable] public var icon:Class; ]]> </mx:Script> <mx:Image height="20" source="{icon}"/> </mx:HBox> Just same your mxml component with name: DGHeaderRenderer.mxml Hope this will help you out. Kalpesh Mahida From: [email protected] [mailto:[email protected]] On Behalf Of dhileepen chakravarthy Sent: Monday, January 12, 2009 2:39 PM To: Flex India Community Subject: [flex_india:18126] datagrid header icon Dear All, Anyone help me out for putting icon on datagrid header like putting icon on the button Thanks in advance, Dhileepen --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

