Hmm, I still can't seem to get mine to work. I am using FLEX 1.5 are 
you using 2.0? Still trying to get the user input from the text box 
to create a dynamically expandable datagrid column height.

****************
code
****************
<mx:DataGrid id="dg" height="300" wordWrap="true" 
variableRowHeight="true" rowHeight="75">
<mx:columns>
<mx:Array>
<mx:DataGridColumn headerText="Name" columnName="PersonName" 
width="225" />
<mx:DataGridColumn headerText="Title" columnName="PersonTitle" 
width="650"/>
</mx:Array>
</mx:columns>
</mx:DataGrid> 


<mx:TextInput id="txtPersonName"/>
<mx:TextInput id="txtPersonTitle"/> 


--- In flexcoders@yahoogroups.com, "Jonathan Miranda" <[EMAIL PROTECTED]> 
wrote:
>
> I've got this to work, but is there a way to disable the mousewheel 
on
> the text chunk or better yet the datagrid itself? It's scrolling the
> text down, removing the first row even though the text fits fine in 
the
> cell.
> 
> _________________________________________
> 
> Jonathan Miranda
> 
> Flexible Master of the Web
> 
> "In the game of chess, it's important to never let your opponent see
> your pieces."
> 
> HealthGrades <http://www.healthgrades.com/> : Guiding America to 
Better
> Healthcare(tm)
> 
> NASDAQ: HGRD
> 
> w  (720) 963-3832
> 
> c  (707) 761-0868
> 
> [EMAIL PROTECTED] 
> 
> _________________________________________
> 
> The message contains confidential and/or legally privileged 
information
> and is intended for use only by the indicated addressee.  If you 
are not
> the named addressee you should not disseminate, distribute, or copy 
this
> e-mail. Please notify the sender immediately by e-mail if you have
> received this e-mail by mistake and delete this e-mail from your 
system.
> E-mail transmissions cannot be guaranteed to be secure or error-
free as
> information could be intercepted, corrupted, lost, destroyed,arrive 
late
> or incomplete, or contain viruses. The sender therefore does not 
accept
> liability for any errors or omissions in the contents of this 
message
> which arise as a result of e-mail transmission. If verification is
> required please request a hard-copy version.
> 
> ________________________________
> 
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of Matt Chotin
> Sent: Tuesday, February 21, 2006 10:48 PM
> To: flexcoders@yahoogroups.com
> Subject: RE: [flexcoders] Re: multiple lines in a datagrid
> 
>  
> 
> Add wordWrap="true" to the column as well.
> 
> -----Original Message-----
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of rgwilson26
> Sent: Tuesday, February 21, 2006 10:46 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: multiple lines in a datagrid
> 
> 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 flexcoders@yahoogroups.com, "Doug Lowder" <douglowder@> 
> wrote:
> >
> > Specify a specific width for your DataGridColumn(s), and then in 
> your 
> > DataGrid add variableRowHeight="true".  That should do it.
> > 
> > Doug
> > 
> > --- In flexcoders@yahoogroups.com, "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
> 
> 
> 
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> 
> 
> 
> 
> SPONSORED LINKS 
> 
> Web site design development
> <http://groups.yahoo.com/gads?
t=ms&k=Web+site+design+development&w1=Web+
> 
site+design+development&w2=Computer+software+development&w3=Software+d
es
> 
ign+and+development&w4=Macromedia+flex&w5=Software+development+best+pr
ac
> tice&c=5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ>  
> 
> Computer software development
> <http://groups.yahoo.com/gads?
t=ms&k=Computer+software+development&w1=We
> 
b+site+design+development&w2=Computer+software+development&w3=Software
+d
> 
esign+and+development&w4=Macromedia+flex&w5=Software+development+best+
pr
> actice&c=5&s=166&.sig=lvQjSRfQDfWudJSe1lLjHw>  
> 
> Software design and development
> <http://groups.yahoo.com/gads?
t=ms&k=Software+design+and+development&w1=
> 
Web+site+design+development&w2=Computer+software+development&w3=Softwa
re
> 
+design+and+development&w4=Macromedia+flex&w5=Software+development+bes
t+
> practice&c=5&s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ>  
> 
> Macromedia flex
> <http://groups.yahoo.com/gads?
t=ms&k=Macromedia+flex&w1=Web+site+design+
> 
development&w2=Computer+software+development&w3=Software+design+and+de
ve
> 
lopment&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s
=1
> 66&.sig=OO6nPIrz7_EpZI36cYzBjw>  
> 
> Software development best practice
> <http://groups.yahoo.com/gads?
t=ms&k=Software+development+best+practice&
> 
w1=Web+site+design+development&w2=Computer+software+development&w3=Sof
tw
> 
are+design+and+development&w4=Macromedia+flex&w5=Software+development+
be
> st+practice&c=5&s=166&.sig=f89quyyulIDsnABLD6IXIw>  
> 
>  
> 
>  
> 
> ________________________________
> 
> 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]> 
>         
> *      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/
 



Reply via email to