Sree and Hari,
Shouldn't you place the escaped new line char in single
quotes?
var newHeader = Order + '\n' +
Appl;
Allen
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Doodi, Hari - BLS CTR Sent: 16 May 2005 15:06 To: 'flexcoders@yahoogroups.com' Subject: RE: [flexcoders] Datagrid word wrap- it isnt working. Hi Sree,
Thank you very much for the tip with two variables. I do remember this.
Thanks!
-----Original
Message-----
Thanks Hari, Yes, it is working. I can see "Order" and "Appl" in two lines in my datagrid.
Thanks!
-----Original
Message-----
Hari, We had the same problem but the way we did roundabout to this is - declare a var with a value with "\n" char in it and then bind this var to datagrid headertext property as shown below.. It did work for me.
var ordappl="Order\nAppl"; . . .
<mx:DataGridColumn headerText="{ordappl}" columnName="order" textAlign="left" /> Thanks! -----Original
Message-----
Have you set variableRowHeight to true?
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]
On Behalf Of nithya
karthik
Hai, when i give wordwrap="true" in a datagrid, it isnt wraping the text... May i know the reason and the way to rectify it? I used something like this: <mx:DataGridColumn columnName="Total" headerText="Total reserves" wordWrap="true"/> I want 'Total' in the first line and 'reserves' in the next line of the header.. How to do this? Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now
Yahoo! Groups Links
|
- RE: [flexcoders] Datagrid word wrap- it isnt working... Allen Manning
- Re: [flexcoders] Datagrid word wrap- it isnt wo... Sreejith Unnikrishnan
- RE: [flexcoders] Datagrid word wrap- it isnt wo... Tracy Spratt
- RE: [flexcoders] Datagrid word wrap- it isnt wo... nithya karthik
- Re: [flexcoders] Datagrid word wrap- it isn... Sreejith Unnikrishnan