You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cannot use GridTemplateColumns property on FluentDataGrid with SelectColumn
🐛 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.FluentDataGrid1.FinishCollectingColumns() in /_/src/Core/Components/DataGrid/FluentDataGrid.razor.cs:line 338 at Microsoft.FluentUI.AspNetCore.Components.FluentDataGrid1.b__150_1(RenderTreeBuilder __builder3) in //src/Core/Components/DataGrid/FluentDataGrid.razor:line 12
at 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)
I would expect that I could use either GridTemplateColumns or Width properties. But right now only Width works when a FluentDataGrid has a SelectColumn
🔦 Context
🌍 Your Environment
.NET 8 and Fluent UI Blazor library Version 4.7.2
The text was updated successfully, but these errors were encountered:
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: