-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Column Resizing): Don't update widths in colDef
column.drawnWidth wasn't being updated after column resizing. This change does two things: 1. Prevent updating column.width in `updateColumnDef` if it already has a value set and the value is a number. If the column has a width that's a number then we're assuming the user has said "I want it to be this wide" and we shouldn't override that. 2. In the column resizer feature, update column.width, not colDef.width.
- Loading branch information
Showing
2 changed files
with
29 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters