You can base it on the custom comboboxcellrenderer that Alistair did on richinternetapps.(but obviously use a textinput instead of a combobox)
http://www.richinternetapps.com/archives/cat_macromedia_flex.html just another idea, have a vbox with two datagrids both with showHeader=false...one behaving like the header something like this <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"> <mx:Script> <![CDATA[ var dp = [ { one:"header1", two:"header2", three:"header3" }]; var dp2 = [ { one:"one", two:"two", three:"three" }, { one:"four", two:"five", three:"six" }, { one:"seven", two:"eight", three:"nine" }, { one:"ten", two:"eleven", three:"twelve" }, { one:"thirteen", two:"fourteen", three:"fifteen" }]; ]]> </mx:Script> <mx:VBox verticalGap="0"> <mx:DataGrid showHeaders="false" dataProvider="{ dp }" editable="true" rowCount="1" selectable="false" textAlign="center"> <mx:columns> <mx:Array> <mx:DataGridColumn columnName="one" fontWeight="bold"/> <mx:DataGridColumn columnName="two" fontWeight="bold"/> <mx:DataGridColumn columnName="three" fontWeight="bold"/> </mx:Array> </mx:columns> </mx:DataGrid> <mx:DataGrid showHeaders="false" dataProvider="{ dp2 }"> <mx:columns> <mx:Array> <mx:DataGridColumn columnName="one"/> <mx:DataGridColumn columnName="two" /> <mx:DataGridColumn columnName="three"/> </mx:Array> </mx:columns> </mx:DataGrid> </mx:VBox> </mx:Application> --- In flexcoders@yahoogroups.com, "Nihit Saxena" <[EMAIL PROTECTED]> wrote: > You should be able to use headerRenderer property on DataGridColumn and > use a textInput inside that. > > > > You can read the documentation about it here - > http://livedocs.macromedia.com/flex/15/flex_docs_en/00002181.htm#wp14 614 > 3 > > > > Nihit > > > > ________________________________ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Tim Blair > Sent: Tuesday, July 26, 2005 5:52 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] DataGrid Editable Header Renderer > > > > Hello, > > I'm attempting to create a custom headerRenderer for a DataGrid which > will allow the user to edit the column name (headerText) in exactly the > same way as the standard editable DataGrid cellRenderer. > > Before I spend any more time on it, does anyone have an example of such > a thing hanging around, or can point me in the right direction? > > Thanks, > > Tim. > > -- > ------------------------------------------------------- > Badpen Tech - CF and web-tech: http://tech.badpen.com/ > ------------------------------------------------------- > RAWNET LTD - independent digital media agency > "We are big, we are funny and we are clever!" > New site launched at http://www.rawnet.com/ > ------------------------------------------------------- > This message may contain information which is legally > privileged and/or confidential. If you are not the > intended recipient, you are hereby notified that any > unauthorised disclosure, copying, distribution or use > of this information is strictly prohibited. Such > notification notwithstanding, any comments, opinions, > information or conclusions expressed in this message > are those of the originator, not of rawnet limited, > unless otherwise explicitly and independently indicated > by an authorised representative of rawnet limited. > ------------------------------------------------------- > > > -- > 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 > > > > * Visit your group "flexcoders > <http://groups.yahoo.com/group/flexcoders> " on the web. > > * To unsubscribe from this group, send an email to: > [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED] subject=Unsubscribe> > > * Your use of Yahoo! Groups is subject to the Yahoo! Terms of > Service <http://docs.yahoo.com/info/terms/> . > > > > ________________________________ -- 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/