Knockout-Contrib / Knockout-Contrib/KoGrid

column width doesn't get calculated properly

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

Description

This seems to have been caused by pull request #161

Basically the column width doesn't seem to get calculated properly if the rows are added after the grid has been bound.

I made a plunker here based on the original server-side paging example. http://plnkr.co/edit/rJjPr8nbbiTPejg3LyKx

Thanks very much for looking into this.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the server-side paging example and the Plunker, then inspect the changes from pull request #161 that calculate column widths. Reproduce the issue by adding rows after the grid is bound and trace why the widths remain incorrect. Done means columns are calculated correctly in that sequence and the Plunker no longer reproduces the bug.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.