Knockout-Contrib / Knockout-Contrib/KoGrid
Selected Row Not Updated When kgGrid.SelectedItems Changed
- Dominant language
- JavaScript
- Stars
- 277
- Forks
- 124
- PR merge metrics
- No merged PRs in 30d
Description
I'm trying to select & highlight a newly added item to koGrid.data. After adding the new item to the
ko.observableArray data-bind to kgGrid.SelectedItems from view model, the previous selected row remains highlighted, whereas the newly added item is not highlighted even if it has become the "active" selected object.
Could you please check if there's a css update event which can be triggered by SelectedItems changes.
Thanks a lot!
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing how kgGrid.data and the ko.observableArray bound to kgGrid.SelectedItems update row highlighting. Reproduce the case where a newly added item becomes the active selected object, then verify that the new row is highlighted and the previous row is not. No file or test is named in the issue.
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