Forum
18:27
Moderators
30/10/2007
Hello,
There is no plan for this feature, but we consider a possibilty to define custom sort function where you can do define this behaviour.
Best Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
01:52
08/03/2010
I was thinking about implementing the feature.
There are two major items to be addressed here:
1. The way sorting rules are integrated into postdata only allows one set of sorting rules to be communicated to the server.
Perhaps the most sensible approach to this is copy how filter rules for multipleSearch are merged into postdata:
postdata = {
...
sortingrules = [{rule1},{rule2},{rule3}]
...
}
2. The method for choosing the sorting column order could be very simple:
- MultiSelect plug in allows to "include / exclude / order" items from a list. Set up a button on the toolbar that calls The behavior could be very similar to how this MultiSelect widget is called now for column ordering / hiding.
I completely bypassed the need for multiple sort order rules, however, by keeping the last order of data in data source. Every time I click on "sort column" it sorts against the order from the last sort and keeps subgroup order from prior sorts intact.
01:34
16/04/2010
I really need this feature. From the user perspective, it's annoying when you sort by column A, then by column B, and column A isn't sorted any more. What ddotsenko said makes sense. I like to think of simulating a stable sorting algorithm. Most users anticipate a stable sort when they sort column A, then column B.
This seems like an obviously important feature to me.
16:52
Moderators
30/10/2007
Hello,
I do not promiese, but will make a initial work.
Another thing that we must do is manipulating the sortings icons on the grid correct.
Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
01:24
16/04/2010
tony said:
Hello,
I do not promiese, but will make a initial work.
Another thing that we must do is manipulating the sortings icons on the grid correct.
Regards
Tony
The sorting icons shouldn't change if you implement a stable sort. This link describes what the user might see if the jqGrid "multi-column sort" were enabled:
http://en.wikipedia.org/wiki/H.....ondary_key
Of course, with a database backend you can't really sort stably, but we could call it a "virtual" stable sort, keeping track of the order and asc/desc of each column in the sort.
20:39
Moderators
30/10/2007
Hello,
Thanks for the link.
Best Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
23:32
29/09/2010
Hi
This is a really basic and crucial feature which will render every grid useless in modern applications if its missing.
Is there a way now (3.8), to have multiple column sorting? Even a workaround will be ok, I am providing the data from a call to my WebService which takes care of sorting paging and filtering, but I need the parameters from the grid.
Cheers
Bernd
02:28
09/03/2012
...see my working mutli-column sorting(ordering) code here.
Most Users Ever Online: 715
Currently Online:
37 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66