on 05-25-2006 8:30 AM
Hi All,
Is there a way to sort a table by two columns?
I don't need sorting actions on the table hedaers or a single column sort, which TableSorter enables.
I will give an example:
Table before sorting
A U 200
B H 100
A I 300
B A 400
Table after sorting
A I 300
A U 200
B A 400
B H 100
Thanks,
Aviad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
It depends where your data is coming from...
If you are getting the data from a backend SAP system for instance via RFC it is very easy for the data to be sorted before it is returned.
If you are building up the data in purely Java then you will need to write a sorting routine - search on Google for help on this as I'm sure its been done hundreds of times before!
Hope this helps,
Gareth.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.