Removing hardcoded values that limit widths and don't allow users to set custom styles that change size. #16201
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #15865
defaultHeaderGroupMinWidth
. Allow setting whatever width the user wants, without a limit, even if that width cannot be rendered correctly due to paddings or other styles.igx-grid-header
so that it matches perfectly with the cell.Note: While you can set whatever width you want in case there is a mismatch between the user-set size and the actual size of the rendered cell i.e. you have set width to 20px (or % that resolves to 20px), but due to paddings the rendered cell is actually 48px (2x24px padding) then features like virtualization may not work as expected since they will not be aware of the actual size of the cell after styles are applied. It's up to the user to set valid size.
@dkamburov Applying the change for master only, since
defaultHeaderGroupMinWidth
is in the public API and removing it may be considered as breaking change.Additional information (check all that apply):
Checklist:
feature/README.MD
updates for the feature docsREADME.MD
CHANGELOG.MD
updates for newly added functionalityng update
migrations for the breaking changes (migrations guidelines)