[flexcoders] Re: How to sorting the results of an OLAPQuery?

2008-06-17 Thread Cosma
Fine, your answer put me on the right track. Just a note: I can't override directly the compareMembers method without breaking things, because the original implementation relies on a *private* member variabile to control the sort direction (which is needed by the hierarchize and union methods).

[flexcoders] Re: How to sorting the results of an OLAPQuery?

2008-05-29 Thread sreeni_r
The workaround for this problem would be to create a extended OLAPSet and override/copy compareMembers code and modify it to compare the displayName instead of name. --- In flexcoders@yahoogroups.com, Cosma [EMAIL PROTECTED] wrote: Hi, I noticed that behavior.. the problem is that this

[flexcoders] Re: How to sorting the results of an OLAPQuery?

2008-05-28 Thread Cosma
Hi, I noticed that behavior.. the problem is that this will sort by the value of the dataField field, that usually is a numeric identifier.. but the sort often must be done on its descriptive name, that is the value actually shown to the users. --- In flexcoders@yahoogroups.com, sreeni_r [EMAIL

[flexcoders] Re: How to sorting the results of an OLAPQuery?

2008-05-27 Thread sreeni_r
Have you tried calling OLAPSet.hierarchize()? It returns a new OLAPSet in which the members are sorted. --- In flexcoders@yahoogroups.com, Cosma [EMAIL PROTECTED] wrote: Hi, I'm trying to sort the results of my OLAPQuery, anyone has tried to do that? I can't find any info in the