Rohit
Since you able to sort all three column individually, that means you have
stored data in three different arrays. So when you sort one array and swap
the indexes you do with the remaining two arrays at the same time. That way
you can maintain the relativity between the columns.
Hope this will help
BJ
----- Original Message -----
From: "Rohit Dhiman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 30, 2001 9:24 AM
Subject: uncommon problem ..!!!!
> dear all,
>
> i need some advice of all of you,i have developed some user interfaces in
> servlets and is displaying some data from the stored procedures......the
> data is displayed in the form of a table with 3 columns in it.
>
> Each column value has a relation with values of the other column.....and
> these columns display data in the form of ip addresses.
>
> now i want to sort , each column individually and the corrsponding values
> shall also change in other columns after sorting.
>
> i have been able to sort each column independently , but then the relation
> with other values is lost, also the datatype of ip address column is
varchar
> and it cannot be sorted by using the orderby clause at the back-end, so i
> need to sort the table columns at the front -end only.
>
> any help will be highly appreciated by me,
>
> thanks in advance :-)
>
> Rohit
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html