this is not in a datagrid it is just a dynamically created control on a canvas
--- In [email protected], "Alex Harui" <[EMAIL PROTECTED]> wrote: > > The renderer's width is fixed to the size of the column > > > > ________________________________ > > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of simonjpalmer > Sent: Thursday, November 22, 2007 11:49 AM > To: [email protected] > Subject: [flexcoders] Dynamically Setting width of a TextInput control > > > > I am using a TextInput control as an item renderer and I want to set > the width of the control to reflect the size of the text within it. > The text comes from a property of the data associated with the item > renderer. I am overriding the set data method in order to set the > text and some stle properties, but I can't figure out how to set the > width of the control. > > Any ideas? >

