-
Notifications
You must be signed in to change notification settings - Fork 401
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
fix: GridTemplateColumns no longer apply correct column widths in Datagrid #3356
Comments
Having same issue downgraded back to 4.11.3 |
Come on guys! I need to have bit more context on when this is happening. Don't let us go hunt for when this occurs. Please supply reproduction code or a clear explanation/steps. |
Apologies, wasn't aware there was any confusion, happy to elaborate. When I create a datagrid, I include the GridTemplateColumns property and specify the values, each results in the relative width of the table's columns. Here is example code:
In 4.11.3 and previous, this results in the table rendering like this:
In 4.11.4 the table that is rendered shows the grid-template-columns as 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr, it doesn't take the specified values from the FluentDataGrid property.
Does this provide you with what you need? |
Yes, that helps. Issue found and corrected. Will be in next release. |
🐛 Bug Report
4.11.4 introduced gridtemplatecolumns bug, whereby the values specified are ignored and everything is getting an even 1fr. Downgrading to 4.11.3 restores functionality.
💻 Repro or Code Sample
Datagrid with GridTemplateColumns="1fr 1fr 2fr 4fr 1fr 1fr 1fr 1fr 0.5fr"
🤔 Expected Behavior
Columns should respect widths specified.
😯 Current Behavior
Resulting HTML receives overridden columns with 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr
🔦 Context
Custom column widths stopped working, everything became same width, makes summary columns hard to read and small data columns taking up too much space.
🌍 Your Environment
.NET V8 and Fluent UI Blazor library Version 4.11.4
The text was updated successfully, but these errors were encountered: