[flexcoders] Re: Trying to underline datagrid header text. How???

2008-09-17 Thread cjcuccaro
derlying collection would not be sorted. > > -Alex > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of cjcuccaro > Sent: Tuesday, September 16, 2008 6:17 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: Trying to underline datagrid header

RE: [flexcoders] Re: Trying to underline datagrid header text. How???

2008-09-16 Thread Alex Harui
but the underlying collection would not be sorted. -Alex From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of cjcuccaro Sent: Tuesday, September 16, 2008 6:17 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Trying to underline datagrid header text. How??? No

[flexcoders] Re: Trying to underline datagrid header text. How???

2008-09-16 Thread cjcuccaro
rs@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of cjcuccaro > Sent: Monday, September 15, 2008 5:30 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: Trying to underline datagrid header text. How??? > > > This is my check I put in the set data, sortEventHandl

RE: [flexcoders] Re: Trying to underline datagrid header text. How???

2008-09-15 Thread Alex Harui
@yahoogroups.com Subject: [flexcoders] Re: Trying to underline datagrid header text. How??? This is my check I put in the set data, sortEventHandler, and clickHandler events within the renderer: if(DataGrid(listData.owner).dataProvider.sort != null){ var sortVal:String = DataGrid(listData.owner

[flexcoders] Re: Trying to underline datagrid header text. How???

2008-09-15 Thread cjcuccaro
\ lexcoders% > 40yahoogroups.com>, Alex Harui wrote: > > > > > > > > I would probably test that the DataGrid > > > (listData.owner).collection.sort.sortFIeld[0].name == > data.dataField > > > > > > > > You'll need more null checks a

RE: [flexcoders] Re: Trying to underline datagrid header text. How???

2008-09-14 Thread Alex Harui
Sent: Sunday, September 14, 2008 6:28 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Trying to underline datagrid header text. How??? Hmmm. Thought I was data-driven. I did attempt to check the sortField but it was always null. I put checks in the sortEventHandler and the clickHandl

[flexcoders] Re: Trying to underline datagrid header text. How???

2008-09-14 Thread cjcuccaro
bably test that the DataGrid > > (listData.owner).collection.sort.sortFIeld[0].name == data.dataField > > > > > > You'll need more null checks and what not but that tests to see > if > > the sort on the collection is sorting on the same field as the > colum

RE: [flexcoders] Re: Trying to underline datagrid header text. How???

2008-09-13 Thread Alex Harui
r 13, 2008 6:31 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Trying to underline datagrid header text. How??? Well thought I had it licked but not! It works great until I make my HTTPService call to the Spring controller on the server to get the sorted result. Just like the sort

[flexcoders] Re: Trying to underline datagrid header text. How???

2008-09-13 Thread cjcuccaro
ing. > > > > From: flexcoders@yahoogroups.com > [mailto:[EMAIL PROTECTED] On Behalf Of cjcuccaro > > Sent: Friday, September 12, 2008 8:27 PM > > To: flexcoders@yahoogroups.com > > Subject: [flexcoders] Re: Trying to underline datagrid header text. > How

RE: [flexcoders] Re: Trying to underline datagrid header text. How???

2008-09-13 Thread Alex Harui
PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Trying to underline datagrid header text. How??? I believe I got it. I use the added sortEventHandler event listener to set the style textDecoration to none and the clickHandler to reset the textDecoration to underline. private function

[flexcoders] Re: Trying to underline datagrid header text. How???

2008-09-13 Thread cjcuccaro
eld as the column the header renderer is displaying. > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of cjcuccaro > Sent: Friday, September 12, 2008 8:27 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: Trying to underline datagrid header text. How

[flexcoders] Re: Trying to underline datagrid header text. How???

2008-09-13 Thread cjcuccaro
re null checks and what not but that tests to see if the sort on the collection is sorting on the same field as the column the header renderer is displaying. > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of cjcuccaro > Sent: Friday, September 12, 2008 8:27

RE: [flexcoders] Re: Trying to underline datagrid header text. How???

2008-09-12 Thread Alex Harui
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of cjcuccaro Sent: Friday, September 12, 2008 8:27 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Trying to underline datagrid header text. How??? Thank you Alex for your feedback. So I visited your blog read about rend

[flexcoders] Re: Trying to underline datagrid header text. How???

2008-09-12 Thread cjcuccaro
Thank you Alex for your feedback. So I visited your blog read about renderers, very good info, and started with your checkbox example. I changed the checkbox to a label and have it underlining on the click but don't know how to toggle the underline when clicking other columns. Can you or anyone p