-
Notifications
You must be signed in to change notification settings - Fork 310
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 usage in FluentDataGrid with SelectColumn #2053
Labels
status:in-progress
Work is in progress
Comments
microsoft-github-policy-service
bot
added
the
triage
New issue. Needs to be looked at
label
May 15, 2024
vnbaaij
added a commit
that referenced
this issue
May 16, 2024
vnbaaij
added
status:in-progress
Work is in progress
and removed
triage
New issue. Needs to be looked at
labels
May 16, 2024
vnbaaij
added a commit
that referenced
this issue
May 23, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Cannot use
GridTemplateColumns
property onFluentDataGrid
withSelectColumn
🐛 Bug Report
Stack Trace:
System.Exception: You can use either the 'GridTemplateColumns' parameter on the grid or the 'Width' property at the column level, not both.
at Microsoft.FluentUI.AspNetCore.Components.FluentDataGrid
1.FinishCollectingColumns() in /_/src/Core/Components/DataGrid/FluentDataGrid.razor.cs:line 338 at Microsoft.FluentUI.AspNetCore.Components.FluentDataGrid
1.b__150_1(RenderTreeBuilder __builder3) in //src/Core/Components/DataGrid/FluentDataGrid.razor:line 12at Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder.AddContent(Int32 sequence, RenderFragment fragment)
at Microsoft.FluentUI.AspNetCore.Components.DataGrid.Infrastructure.Defer.BuildRenderTree(RenderTreeBuilder builder) in //src/Core/Components/DataGrid/Infrastructure/Defer.cs:line 26
at Microsoft.AspNetCore.Components.Rendering.ComponentState.RenderIntoBatch(RenderBatchBuilder batchBuilder, RenderFragment renderFragment, Exception& renderFragmentException)
💻 Repro or Code Sample
🤔 Expected Behavior
I would expect that I could use either GridTemplateColumns or Width properties. But right now only Width works when a
FluentDataGrid
has aSelectColumn
🔦 Context
🌍 Your Environment
The text was updated successfully, but these errors were encountered: