Knockout-Contrib / Knockout-Contrib/KoGrid
sortInfo, what is the correct syntax, working example needed
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 277
- Forks
- 124
- PR merge metrics
- No merged PRs in 30d
Description
Various threads show these different syntaxes
- sortInfo: { field:'myField', direction:'asc'}
- sortInfo: { column:''myColumn', direction:'asc'}
- sortInfo: { column: {field:'myField}, direction:'asc'}
- sortInfo: ko.observable( ...... )
Questions
- Is the field/column value the column def field value or display name?
- is the descending value 'desc' or other?
I've tried various combinations and none default the sorted column. maybe a simple jsfiddle example
Contributor guide
No contributing guide indexed for this repository
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
Start by reviewing the existing sortInfo syntax and its relationship to the column definition fields, using the referenced threads and any available examples. Done means documenting one correct syntax, clarifying field versus display-name values and the descending value, and providing a working jsfiddle example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- documentation, frontend
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100