Re: d2w ordering an array for display
Re: d2w ordering an array for display
- Subject: Re: d2w ordering an array for display
- From: David LeBer <email@hidden>
- Date: Sat, 21 Jan 2012 21:09:11 -0500
http://davidleber.net/?p=271
--
David LeBer
Codeferous Software
On 2012-01-21, at 7:51 PM, Theodore Petrosky wrote:
> I have an EO with a column that I use to order the objects. it is an integer so my method to return the EOs is:
>
> public NSArray<RowColor> currentRowColors() {
>
> NSArray<RowColor> rowColorList = RowColor.fetchRowColors(editingContext(), RowColor.IS_ACTIVE.eq(true), RowColor.ORDERING_INT.ascs());
>
> return rowColorList;
> }
>
> but my d2w component is not respecting the order of the array. it looks like it is ordering alphabetically on the displayedObject.
>
> how do I order the elements on the ORDERING_INT key.
>
> Ted
> _______________________________________________
> 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
>
_______________________________________________
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