Knockout-Contrib / Knockout-Contrib/KoGrid
Loss of selectedItems when re-ordering a column
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 277
- Forks
- 124
- PR merge metrics
- No merged PRs in 30d
Description
I have the grid setup for mutliselect but when I reorder the grid with rows already selected (clicking on the header cell), the integrity of selectedItems is lost.
On your examples, the selections are removed all together when sorting. (http://knockout-contrib.github.io/KoGrid/#/examples). Some of the examples also keep the formatting but lose the selectedItem count.
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
Reproduce the issue in the KoGrid examples at http://knockout-contrib.github.io/KoGrid/#/examples by selecting rows and reordering through the header cell. Trace the sorting and selection behavior, then verify that selectedItems, the selected-item count, and selection formatting remain intact after reordering.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100