Define a setValue function in your header renderer, the headerText that you specify for the column will be passed through to it.
<mx:DataGridColumn headerRenderer="gridHead_ist_aw" headerText="sometext" columnName="..."/> Matt -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of jrab2999 Sent: Wednesday, January 04, 2006 8:10 AM To: [email protected] Subject: [flexcoders] headerRenderer variable Hello, is it possible to push a title variable to a headerRenderer from a dataGridColumn by mx tag? I use a Datagrid with custom headerRenderers for every column which is annoying: datagrid:--------------- ... <mx:columns> <mx:Array> <mx:DataGridColumn columnName="ist_aw" headerRenderer="{gridHead_ist_aw}" editable="false" width="60"/> ... gridHead_ist_aw:-------------- <mx:HBox xmlns:mx="http://www.macromedia.com/2003/mxml" xmlns="*" marginTop="0" marginBottom="0" hScrollPolicy="off" vScrollPolicy="off" verticalAlign="top" width="100%" height="40" borderStyle="none" > <mx:Text text="Titel" selectable="false" marginTop="0" marginBottom="0" width="100%" fontWeight="normal" /> </mx:HBox> Jurek -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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/

