in my custom style for some reason textDecoration doesnt work, i set the header to a style sheet and the overall style to a different one, and it works the header and grid are different colors fonts etc. but as soon as i add textDecoration in the style sheet it just doesnt do anything.
On 1/17/08, Alex Harui <[EMAIL PROTECTED]> wrote: > > 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] [mailto:[EMAIL PROTECTED] *On > Behalf Of *Dominique Bessette - Halsema > *Sent:* Thursday, January 17, 2008 4:12 PM > *To:* [email protected] > *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]> 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]> wrote: > > > > > > Try setting those values on the columns, and explicitly unset it in > > > headerCustomStyle > > > > > > > > > ------------------------------ > > > > > > *From:* [email protected] [mailto:[EMAIL PROTECTED] > > > *On Behalf Of *Dominique Bessette - Halsema > > > *Sent:* Thursday, January 17, 2008 10:39 AM > > > *To:* [email protected] > > > *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="headerCustomStyle" > > > headerStyleName="header" textDecoration="underline" > > > alternatingItemColors="[#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]> wrote: > > > > > > Set headerStyleName on the columns to have tetDecoration="none" > > > > > > > > > ------------------------------ > > > > > > *From:* [email protected] [mailto: [EMAIL PROTECTED] > > > *On Behalf Of *Dominique Bessette - Halsema > > > *Sent:* Wednesday, January 16, 2008 4:18 PM > > > *To:* [email protected] > > > *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]> wrote: > > > > > > textDecoration=" > > > > > > underline" > > > > > > > > > > > > ----- Original Message ---- > > > From: dominique.bessette < [EMAIL PROTECTED]> > > > To: [email protected] > > > 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.<http://us.rd.yahoo.com/evt=51734/*http:/tools.search.yahoo.com/newsearch/category.php?category=shopping> > > > > > > > > > > > > > > > > > > > > > >

