Re: Sorting
Re: Sorting
- Subject: Re: Sorting
- From: Greg Hulands <email@hidden>
- Date: Mon, 1 Nov 2004 09:46:57 +1000
I understand that, but there must be a more efficient way than having
an action sortName, sortSuburb, etc. Just one sort method that can get
the column to sort is what I'm trying to find.
Greg
On 01/11/2004, at 9:31 AM, Ben Ketteridge wrote:
On Mon, 1 Nov 2004 09:28:58 +1000, Greg Hulands
<email@hidden> wrote:
Hi,
I have read on the list before that using display groups is a bad idea
and should instead use a fetch spec and handle the array myself. In
one
component I have the WOBatchNavBar or whatever its called and also
have
sort orderings for the columns in the table. I have no problems
fetching and handling the EO's, it is just on how to have an efficient
design of handling when a column gets clicked to be sorted by it. How
have other people implemented sorting in this way?
When you build your fetch specification, include an array of
EOSortOrderings that sorts by the desired column.
Ben
--
| Ben Ketteridge email@hidden, aka Gremlin |
| It is by caffeine alone that I set my mind in motion. |
| It is by the coffee that the thoughts acquire speed, |
| the lips acquire stains, the stains become a warning. |
| It is by caffeine alone that I set my mind in motion. |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >Sorting (From: Greg Hulands <email@hidden>) |
| >Re: Sorting (From: Ben Ketteridge <email@hidden>) |