I tried using variableRowHeight in my dataGrid with no luck. I may 
not have been very clear in my first post. I am trying to add text 
from a text input box, where if the text exceeds the length of the 
data grid then it will expand to more than one line and create a word 
wrap effect so the user can read the entire entry. 

Any suggestions?


<mx:DataGrid id="dgUserInfo
headerColor="#00CC33" 
variableRowHeight="true">
<mx:columns>
 <mx:Array>
  <mx:DataGridColumn headerText="Title" columnName="title"  
width="650" />

 </mx:Array>
</mx:columns>
</mx:DataGrid> 

<mx:TextInput id="userInput" />

<mx:Button label="Add" textAlign="center"  width="75" click="addRow
()"/>

--- In [email protected], "Doug Lowder" <[EMAIL PROTECTED]> 
wrote:
>
> Specify a specific width for your DataGridColumn(s), and then in 
your 
> DataGrid add variableRowHeight="true".  That should do it.
> 
> Doug
> 
> --- In [email protected], "rgwilson26" <ryan.wilson@> 
> wrote:
> >
> > I would like to know if anyone has an example of a multi line 
column 
> in 
> > a datagrid. I would like to have a datagrid with a fixed column 
> width, 
> > where if the user inputs enough info the datagrid will allow for 
a 
> word 
> > wrap effect in the column if necessary.
> > 
> > Thanks,
> >
>






--
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/
 


Reply via email to