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
Describe the bug
At first it's probably not a bug report but rather question or feature proposal, but I've not found any better place to write about it.
I have a Grid with multiple GridColumns I want to have some columns shown conditionally.
In my case when user hits a button the Grid should show some additional column/columns.
I've tried to achieve it like this:
It spawned the additional GridColumn every time the condition was met, so every time user hit the button twice (show, hide) new column was spawned. Additionally I wanted this column to be on left and it's the first column declared in my Grid, but it spawned on the right as last column. I've used such approach before with simple HTML tables and that worked fine there.
I was looking for some property like Enabled, Visibility, IsHidden and so on, but didn't find anything.
Expected behavior
Possibility of showing/hiding GridColumns conditionally.
Versions (please complete the following information):
.NET Version: .NET 8
BlazorBootstrap: 2.2.0
Blazor WebAssembly / Server: Server
Blazor Interactive Render Mode: Server (InteractiveServer)
Blazor Interactivity Location: Per page/component
Desktop (please complete the following information):
OS: Windows 11 23H2
Browser: Edge 126.0.2592.87
The text was updated successfully, but these errors were encountered:
Describe the bug
At first it's probably not a bug report but rather question or feature proposal, but I've not found any better place to write about it.
I have a Grid with multiple GridColumns I want to have some columns shown conditionally.
In my case when user hits a button the Grid should show some additional column/columns.
I've tried to achieve it like this:
It spawned the additional GridColumn every time the condition was met, so every time user hit the button twice (show, hide) new column was spawned. Additionally I wanted this column to be on left and it's the first column declared in my Grid, but it spawned on the right as last column. I've used such approach before with simple HTML tables and that worked fine there.
I was looking for some property like Enabled, Visibility, IsHidden and so on, but didn't find anything.
Expected behavior
Possibility of showing/hiding GridColumns conditionally.
Versions (please complete the following information):
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: