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#wp146143

 

Nihit

 


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 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




Reply via email to