Hello,
I thought of that but the table is multi columned and once the
user has sorted the table by a different column, they will then want to
sort the table by this column again which would not be possible if I
presented a sorted list from my controller. I could hack that in but it
would be very ugly and I need to do this kind of custom sorting all over
my app.
Most frsutrating thing is that I'm looking through the displayatg
source code base and I cannot see the issue!
Thanks for your email.
Cheers,
Neil
Laurent ROCHE wrote:
> May you could try returning in the list the data as the user wants it
> to be sorted and displaying it the way it is now using a decorator ?
>
>
> Have fun,
> [EMAIL PROTECTED]
> The Computing Froggy
>
>
> ----- Message d'origine ----
> De : benn <[EMAIL PROTECTED]>
> À : [email protected]
> Envoyé le : Mercredi, 19 Mars 2008, 14h32mn 09s
> Objet : Re: [displaytag-user] Column Comparator
>
> ping - no-one has done this at all? This is driving me crazy, trying to
> explain to the user that sorting the items as she wishes (naturally not
> ASCII) is not possible confuses the user and is costing me lots of free
> coffee and biscuits to calm her down!!
>
> Any help would be greatly, hugely and earth shatteringly appreciated!!
>
> Cheers,
>
> Neil
>
> benn wrote:
> > Hello,
> >
> > Sorry to keep asking questions but I haev another!
> >
> > I'm attempting to use a custom comparator as follows:
> >
> > <display:column property="code" sortable="true"
> > titleKey="workitem.code" url="/viewWorkItem.html" paramId="id"
> > paramProperty="id"
> > comparator="de.mpicbg.db.common.comparator.AlphanumComparator" />
> >
> > The comparator is based upon one from Dave Koelle
> > (http://www.davekoelle.com/alphanum.html) and is basically a natural
> > sorting for strings. However the comparator is not being called (I
> > can tell from my logs) and is not being constructed either. I've also
> > tried changing the comparator to receive Objects rather than Strings
> > but comapre is not being called.
> >
> > Any hints as to what I'm doing wrong would be greatly appreciated :).
> >
> > Cheers,
> >
> > Neil
> >
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> displaytag-user mailing list
> [email protected]
> <mailto:[email protected]>
> https://lists.sourceforge.net/lists/listinfo/displaytag-user
>
>
> ------------------------------------------------------------------------
> Envoyé avec Yahoo! Mail
> <http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http://us.rd.yahoo.com/evt=52420/*http://fr.docs.yahoo.com/mail/overview/index.html>.
> La boite email la plus appreciée au monde.
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> ------------------------------------------------------------------------
>
> _______________________________________________
> displaytag-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/displaytag-user
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user