d2w ordering an array for display
d2w ordering an array for display
- Subject: d2w ordering an array for display
- From: Theodore Petrosky <email@hidden>
- Date: Sat, 21 Jan 2012 16:51:49 -0800 (PST)
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