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
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
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
@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
\
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
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
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
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
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
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
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
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
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
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
14 matches
Mail list logo