craftleft.gif (3002 bytes)QuickTable
Home | API | Tutorial | Download | Support | Contact topblack.gif (108 bytes)


QuickTable User Cp  |  Register  |  Members  |  Search  |  Help
    |- QuickTable Discussion Forums > Pre-Download Questions Post New Topic   Post A Reply
Can multiple columns be sorted using different orderings? printer friendly version
next newest post | next oldest post
Author Messages
Mike
Unregistered
Edit or delete this message Reply w/Quote
Posted Saturday, January 29, 2011 @ 04:16:51  

Hi,

The API for both Sorter and DBTable.sortByColumns take a single boolean for sort direction. Does this mean that there is no support for sorting multiple columns using different directions?

e.g.
Sort by Column 1 ascending, then by Column 2 descending, then by Column 3 ascending, ...

The functionality described in my example is critical to my needs. The user must be able to sort by multiple columns, choosing the order of the columns, relative to each other, and the direction of sort on a column by column basis.

Thanks

Admin
Board Owner

Gender: Unspecified
Location:
Registered: Jul 2003
Status: Offline
Posts: 9

Click here to see the profile for Admin Send email to Admin Send private message to Admin Find more posts by Admin Edit or delete this message Reply w/Quote
Posted Friday, April 15, 2011 @ 12:18:03  

You can use setSorter(Sorter sorter) and provide your own advanced sorting.
Post New Topic   Post A Reply Jump to:
Contact Us | QuickTable - A Java DBGrid | Privacy Policy All times are GMT -5 Hours.
Welcome to QuickTable Forums, Guest!  
Login
Username :
Password :
In order to fully utilize the abilities of this board, you are required to register as a member. Registration is free, and allows you to do lots of things including turning on or off certain features of this board. Register now!
Powered by CuteCast v2.0 BETA 2
Copyright © 2001-2003 ArtsCore Studios