Knockout-Contrib / Knockout-Contrib/KoGrid

Adding items to observable doesn't sort grid

Open
#307 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
277
Forks
124
PR merge metrics
No merged PRs in 30d

Description

Hi

When adding new items to the observable array that the grid is bound to, it does not trigger a new sort.

Is that something we have to do ourselves or should that be done automatically? We've set it up with sortInfo, but nothing happens. Sorting works fine when clicking on the header for each column.

Using 2.1.1

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue with a Knockout observable array bound to the grid and configured with sortInfo, using the reported 2.1.1 setup. Compare adding items with clicking a column header, then determine whether the expected result is automatic resorting or a documented manual action; done when that behavior is confirmed and covered by the relevant grid behavior.

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
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.