Re: [Q] D2W sorting lists with property level custom component
Re: [Q] D2W sorting lists with property level custom component
- Subject: Re: [Q] D2W sorting lists with property level custom component
- From: Markus Ruggiero <email@hidden>
- Date: Wed, 16 Mar 2011 11:18:24 +0100
On 14.03.2011, at 19:24, Markus Ruggiero wrote:
> More D2W problems here:
>
> I have a simple D2W list page with a couple of attributes. All the columns have the sort icon and sorting works. One of the attributes is a very large string. So I created a CollapsibleLargeString property level component. This component is basically a WOCollapsibleComponentContent that shows the full string in opened state and shows a truncated version of the string as the collapsed label. When I use this component sorting does not work any more. All the records can be sorted by clicking the sort icon above the columns but the column for that large string does not sort with the rest of the list. Thus the displayed values stay at their place and the rest of the table sorts around them. Why? What does a custom component for display have to do with the sort order? Why is the whole table sorted but this particular column stays as it was? Sortkey is properly set. Replacing the custom component by e.g. D2WDisplayString fixes the issue.
>
Weird, but the problem has gone somehow / fixed itself :-)
Love that kind of "solution"
Cheers
---markus---
_______________________________________________
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