O flex 3, I tried it in Flex 2 and it doesnt work, Flex 3 it works, if i 
understood what you want


----- Original Message ----
From: Alex Harui <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Thursday, January 17, 2008 7:03:20 PM
Subject: RE: [flexcoders] underline in datagrid

in 2.0, if you set textDecoration= underline on the column, both the cells and 
header should get underlines.  Then in theory, if you point the column's 
headerStyleName to a custom style with textDecoration= 'none" it should remove 
the underline from the header.




From: [EMAIL PROTECTED] ups.com [mailto:flexcoders@ yahoogroups. com] On Behalf 
Of Dominique Bessette - Halsema
Sent: Thursday, January 17, 2008 4:12 PM
To: [EMAIL PROTECTED] ups.com
Subject: Re: [flexcoders] underline in datagrid


maybe i should mention i'm not using flex 3 i'm using flex 2


On 1/17/08, Dominique Bessette - Halsema <[EMAIL PROTECTED] com> wrote: 
yeah it's weird even when i take the styleName = "HeaderCustomStyle" out and 
put the values in the columns it's still just all underlined, i think i've 
tried every combination 



On 1/17/08, Alex Harui <[EMAIL PROTECTED] com> wrote: 
Try setting those values on the columns, and explicitly unset it in 
headerCustomStyle
 



From: [EMAIL PROTECTED] ups.com [mailto:[EMAIL PROTECTED] ups.com] On Behalf Of 
Dominique Bessette - Halsema
Sent: Thursday, January 17, 2008 10:39 AM
To: [EMAIL PROTECTED] ups.com
Subject: Re: [flexcoders] underline in datagrid
 
it's still not underlineing just the grid.  i can get it to underline 
everything or nothing
 
.headerCustomStyle
  {
   borderColor: #000080;
   textAlign: 'left';
   color: #000000;
   fontFamily: 'Arial';
   themeColor: #ffff00; 
   
  }
  .header
  {
     textDecoration: none; 
  }
 
<mx:DataGrid  
   id="fcsGrid"  styleName="headerCu stomStyle"
   headerStyleName= "header" textDecoration= "underline" 
   alternatingItemColo rs="[#bfdfff, #ffffff]" 
   headerColors= "[#ffff99, #ffffff]" click="onClick( event)"
   borderThickness= "2" borderColor= "#379bff" 
   maxHeight="124" width="237" top="0" height="124" left="25">     
   <mx:columns>
    <mx:DataGridColumn  headerText=" CFF UID" dataField="cffUid" width="100"  
/> 
   </mx:columns>
  </mx:DataGrid>

 
On 1/16/08, Alex Harui < [EMAIL PROTECTED] com> wrote: 
Set headerStyleName on the columns to have tetDecoration= "none" 
 



From: [EMAIL PROTECTED] ups.com [mailto: [EMAIL PROTECTED] ups.com] On Behalf 
Of Dominique Bessette - Halsema
Sent: Wednesday, January 16, 2008 4:18 PM 
To: [EMAIL PROTECTED] ups.com 
Subject: Re: [flexcoders] underline in datagrid
 
what if i dont want the datagrid's title to be underlined
On 1/16/08, Sherif Abdou < [EMAIL PROTECTED] com> wrote: 
textDecoration= "
underline"
 
----- Original Message ----
From: dominique.bessette < [EMAIL PROTECTED] com>
To: [EMAIL PROTECTED] ups.com
Sent: Wednesday, January 16, 2008 5:46:52 PM 
Subject: [flexcoders] underline in datagrid
How do I underline my text in a datagrid?
 
 



Looking for last minute shopping deals? Find them fast with Yahoo! Search. 
 
 







      
____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 

Reply via email to