-
-
Notifications
You must be signed in to change notification settings - Fork 533
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
[Bug]: max-width on DataGridColumn does not work #5314
Comments
Hello @albason
Please let us know more detailed steps to reproduce this issue. It's better if you can give us a reproduceable of the problem. |
Hello @albason, thank you for your submission. The issue was labeled "Status: Repro Missing", as you have not provided a way to reproduce the issue quickly. Most problems already solve themselves when isolated, but we would like you to provide us with a reproducible code to make it easier to investigate a possible bug. |
@David-Moreira You can see in this example that the max-width of 200px is exceeded. |
Hello @albason Try using https://stackoverflow.com/questions/61471694/how-can-i-set-max-width-of-table-columns |
Blazorise Version
1.4.2
What Blazorise provider are you running on?
Bootstrap5
Link to minimal reproduction, or a simple code snippet
<DataGridColumn HeaderCellStyle="max-width: 200px !important; " CellStyle="@((i)=>"max-width: 200px !important; white-space: nowrap")" Caption="Name">
Steps to reproduce
Just set a text which is longer than the width of 200px
What is expected?
The column width should stay at max 200px
What is actually happening?
The column width exceed the max-width
What browsers are you seeing the problem on?
No response
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: