Feature request: Capability to set initial sort direction for Grid column
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.8k
- Forks
- 717
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 3
Description
It would be useful to be able to customize the initial sort direction for a grid column.
Now - as far as I know - when user clicks on the grid header column, data is always sorted initially ascending. If the grid is representing for example monetary data a typical use scenario for sorting is to see the biggest numbers on the top of the list. This would require a descending initial sort direction for the column.
Cheers!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points. Start by locating the Grid column header sorting behavior in the Java framework, then determine how a column could expose an initial sort direction; done means a column can select descending as its first sort direction and the behavior is covered by an appropriate test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100