Skip to content
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

fieldOption - initialSortingDirection = DESC | ASC #1459

Closed
morgunder opened this issue Aug 14, 2014 · 2 comments · May be fixed by #1600
Closed

fieldOption - initialSortingDirection = DESC | ASC #1459

morgunder opened this issue Aug 14, 2014 · 2 comments · May be fixed by #1600
Milestone

Comments

@morgunder
Copy link

suggestion - some of my columns naturally benefit from DESC sorting. but the first click on the column header always does an ASC sort so my users are required to click twice to get the desired DESC sort.

Was thinking this was a pretty common scenario - and a solution would be to simply add a fieldOption to specify which sort direction to use on the initial click. one name that would work is sortingInitialDir which can be ASC or DESC.

Thanks for considering this.

@hikalkan hikalkan added this to the v2.5.0 milestone Aug 14, 2014
@hikalkan hikalkan self-assigned this Aug 14, 2014
@hikalkan
Copy link
Member

Hi,

Thanks for suggestion. I agree that. It should be selected per field.

@morgunder
Copy link
Author

Glad to help

From the cellphone of: Timothy "David" Sharpe

-------- Original message --------
From: Halil İbrahim Kalkan [email protected]
Date:08/14/2014 3:44 PM (GMT-05:00)
To: hikalkan/jtable [email protected]
Cc: morgunder [email protected]
Subject: Re: [jtable] Suggestion: fieldOption - sortingInitialDir = DESC | ASC (#1459)

Hi,

Thanks for suggestion. I agree that. It should be selected per field.


Reply to this email directly or view it on GitHub:
#1459 (comment)

@hikalkan hikalkan removed their assignment Mar 29, 2017
ismcagdas added a commit to ismcagdas/jtable that referenced this issue Mar 29, 2017
hikalkan added a commit that referenced this issue Mar 29, 2017
#1459: implement initial sorting direction
@hikalkan hikalkan changed the title Suggestion: fieldOption - sortingInitialDir = DESC | ASC fieldOption - initialSortingDirection = DESC | ASC Mar 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants