Hi,
that is standard Java functionality. All you need to do is implement the
Comparator interface.
If you need an example, let me know.
Honza
On Nov 5, 2007 4:11 PM, Gupta, Rohit <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Any leads as to how can I write the comparator.
>
> Thanks,
> Rohit
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Pushpendra Singh
> Sent: Monday, November 05, 2007 8:31 PM
> To: displaytag-user@lists.sourceforge.net
> Subject: Re: [displaytag-user] FW: Sorting problem
>
> You need to write comparator for your display tag.
> By default display tag uses Default comparator. You need to write your
> own
> as par your requirement.
>
> Regards,
> Pushpendra Singh Baghel
> Cell:-9324306569
> Dir:-022-67928769
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Gupta,
> Rohit
> Sent: Monday, November 05, 2007 8:25 PM
> To: displaytag-user@lists.sourceforge.net
> Subject: [displaytag-user] FW: Sorting problem
>
>
>
>
> Hi,
>
> I am using display tag to display a list of values of which some of the
> columns are in numeric format, when we try to sort these fields the
> table is not being sorted properly. Display tag seems to be handling
> these numbers as string.
>
> How can I over come this.
>
> Thanks,
> Rohit.
>
> ------------------------------------------------------------------------
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> displaytag-user mailing list
> displaytag-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/displaytag-user
>
>
>
>
>
>
> ---
> This e-mail message may contain confidential, proprietary or legally
> privileged information. It should not be used by anyone who is not the
> original intended recipient.If you have erroneously received this
> message, please delete it immediately and notify the sender. The
> recipient acknowledges that 3i Infotech or its subsidiaries and
> associated companies, (collectively "3i Infotech"), are unable to
> exercise control or ensure or guarantee the integrity of/over the
> contents of the information contained in e-mail transmissions and
> further acknowledges that any views expressed in this message are those
> of the individual sender and no binding nature of the message shall be
> implied or assumed unless the sender does so expressly with due
> authority of 3i Infotech. Before opening any attachments please check
> them for viruses and defects.
>
>
> ------------------------------------------------------------------------
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> displaytag-user mailing list
> displaytag-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/displaytag-user
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> displaytag-user mailing list
> displaytag-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/displaytag-user
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user