-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multisort not maintaining column order #583
Comments
Tony, My team has been making extensive use of the jqGrid library. We thank you and your colleagues for developing and maintaining it. We are, however, running into the multi-sorting issue described in this thread. I see that the problem (or feature request...depending on your point of view) is well documented on the triand.com Website. (See the references below.) Has a fix been implemented? We are running version 4.6.0 of the library. Osei References |
Tony, The code for a preliminary solution to my problem is below. I added a multiSortOrder variable, a getMultiSortColumnIndex() function, and a getMultiSortParams() function. I also updated the multiSort() function. If you are available, please share your feedback on whether or not what I have written fits well with the other parts of jqGrid's code base. Osei
|
Hello, I will try to implement this in the next release 4.8.1 |
Any progress on this? I'm using version 4.8.2 and the column order is still left to right, rather than being based on the order the column headers were clicked. |
Hello, Kind Regards |
Hello, I have added this feature : eb8cb6a You can download the latest build from GitHub. Thank you |
I downloaded the latest version, but the combined jquery.jqgrid.js does not contain the latest changes, even though the grid.base.js file does. Is it possible to provide an updated combined file so that we can test? |
ined version. |
I just re-downloaded and the combined file (jquery.jqGrid.js) does contain the sort changes. I noticed that the date in the header is different from the one I downloaded yesterday after your post (5/29 vs 5/30). Multi-column sorting with updated code works exactly as expected! Thanks! |
Thanks for the feedback. Glad to hear that this work as expected. I will close the requirement. Kind Regards, |
http://www.trirand.com/blog/phpjqgrid/examples/sorting/multiple_sorting/default.php
Referring above example,
i) first remove all sorts.
ii) Sort with customerid (asc)
iii) Sort with orderid
Expected result was to make sort like 'customerid asc, orderid'
But, the result is 'orderid asc, customerid'
Tony, Please tag it for next build.
The text was updated successfully, but these errors were encountered: