Knockout-Contrib / Knockout-Contrib/KoGrid

Retain resized column width after sort.

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

Description

We have grid where all columns are resizable and sortable. When resizing a sortable column on the mouseup event sort is being invoked. Whenever sort is called the width of the columns are being reset to their initial value. Is it possible to...
1. Prevent the call to sort on the mouseup event from the resize grip
2. Retain a columns width post sort rather than resetting the columns width to its original value.

Contributor guide

No contributing guide indexed for this repository

Research direction

No files or tests are named. Start by reproducing the resize-grip mouseup behavior and tracing the resize and sort handlers; confirm whether sorting is triggered by the grip event and where column widths are reset. Done means resizing a sortable column no longer invokes sort unexpectedly and its width remains after sorting.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.