Knockout-Contrib / Knockout-Contrib/KoGrid
initial column grouping failed
- Dominant language
- JavaScript
- Stars
- 277
- Forks
- 124
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
When i try to initially grouping column using groups option like this : groups: ['fieldToGroup'],
i have a javascript exception.
Effectevely, in getGrouping at line 984 [if (!cols[depth].isAggCol && depth <= maxDepth) {], cols constains 0 element, and there that's failed.
Has anyone the problem solving or it's a bug ?
I have done a plunker to illustrate the bug http://plnkr.co/edit/LYwbyf !
Jérôme
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the exception with the linked Plunker and inspect getGrouping around line 984, where cols is empty during initial grouping with groups: ['fieldToGroup']. Trace why the columns collection is empty and verify that the same grouping configuration completes without a JavaScript exception.
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
- 42/100