Re: Sorting
Re: Sorting
- Subject: Re: Sorting
- From: Ben Ketteridge <email@hidden>
- Date: Sun, 31 Oct 2004 23:31:53 +0000
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>) |