.
Thanks,
Adam
- Original Message -
From: iko_knyphausen
To: flexcoders@yahoogroups.com
Sent: Saturday, March 03, 2007 5:09 AM
Subject: [flexcoders] Re: simulate datagrid header click, or set
default sort column
BTW, I also fiddled with dispatching the HEADER_RELEASE
Ahh yep, my date strings are in format -MM-DD anyway.
Cheers!
Adam
- Original Message -
From: iko_knyphausen
To: flexcoders@yahoogroups.com
Sent: Sunday, March 04, 2007 3:11 AM
Subject: [flexcoders] Re: simulate datagrid header click, or set default sort
column
I just went through the same exercise, and ended up using the
recommended method, which is creating your own Sort object...
The basic working is to
1. take a collection (either arraycollection or xmllistcollection) as
dataprovider
2. define a Sort object for it (you do this by creating
BTW, I also fiddled with dispatching the HEADER_RELEASE event, before I
used a custom sort, and one problem is, that its behavior depends on
whether the column to be sorted was the last sorted column or not. If it
was the previous sort column a header release event will reverse the
sort order, if
-
From: iko_knyphausen
To: flexcoders@yahoogroups.com
Sent: Saturday, March 03, 2007 5:09 AM
Subject: [flexcoders] Re: simulate datagrid header click, or set default sort
column
BTW, I also fiddled with dispatching the HEADER_RELEASE event, before I
used a custom sort, and one problem
- Original Message -
From: iko_knyphausen
To: flexcoders@yahoogroups.com
Sent: Saturday, March 03, 2007 5:09 AM
Subject: [flexcoders] Re: simulate datagrid header click, or set
default sort column
BTW, I also fiddled with dispatching the HEADER_RELEASE event, before
I
used a custom sort
understand your labelFunction point.
Cheers,
Adam
- Original Message -
From: iko_knyphausen
To: flexcoders@yahoogroups.com
Sent: Saturday, March 03, 2007 9:52 AM
Subject: [flexcoders] Re: simulate datagrid header click, or set default sort
column
Yes, but you should
7 matches
Mail list logo