-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[grid] Provide minWidth and maxWidth properties for Grid's column #6669
Comments
|
Hi, not exactly the same. I personally more interested in |
@glebfox can you describe a use case for the maxwidth part? In what situations would you want to limit how wide the end user can make a column? |
For me it's not about the user who enlarges the grid column, but the grid itself creating columns that have at least 50px, but it can grow up to 300px with wider content; content that is larger than that gets clipped / ellipsed. |
@rolfsmeds as I mentioned above, I personally more interested in |
Right, I suppose if we had (Of course for |
Acceptance Criteria: vaadin/platform#6553 |
Describe your motivation
Currently it is not possible to set the boundaries of column resizing. At least min width is very important if a column can be resized.
web-components/packages/grid/src/vaadin-grid-column-resizing-mixin.js
Line 60 in 23b5fdf
Describe the solution you'd like
Grid's column has
minWidth
/maxWidth
properties that are set to corresponding header and body elements (similar towidth
,flexGrow
, etc.) and taken into account byColumnResizingMixin
.Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: