-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(igxGrid): Grid should render all columns when grid width is set t…
…o null. (#5405) * fix(igxGrid): Grid should render all columns when grid width is set to null. * chore(*): Fixing build. * chore(*): Handling null width inetgration with other grid features that change the total grid width (row selectors, expansion indicators etc.). * chore(*): In case withd is null make sure scroll width is not taken into account when calculating virtualization width as it should be equal to the sum of column widths. * chore(*): Include feature's column width to calculated body width when width is set to null. * chore(*): Additional handling for null width in combination with: hidden columns, multi-column headers, auto-generated columns, columns with no width. Making sure host binded width prop is set only after zone is stable to prevent timing issues where the same prop value changes during same change detection cycle and throws errors. * chore(*): Use zone.run for interactions that change the width when ran outside the zone (like resizing). * chore(*): Adding support for null width + mrl. Fixing getPossibleColumnWidth to depend on getFeatureColumnsWidth so that it takes in cosideration all possible feature columns (not just row selectors). * chore(*): If width is in % when grid width is null use min width. * chore(*): In case width is null allow setting null for width host bindings so that grid will expact based on content. In case width is null and column width in % then set width to min width explicitly. * chore(*): Fixing issues with width = null. * chore(*): In case width is null, always apply minwidth to columns as default. * chore(*): Make check more specific to null. * chore(*): Fixing tests. * chore(*): Fixing another test. * chore(*): DetectChanges before feature's column width is calculated so that all option changes are applied.
- Loading branch information
1 parent
d2b010b
commit e948a41
Showing
7 changed files
with
88 additions
and
26 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
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
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
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