Good Morning Razen Team!
Please, Could you try code below. Check and Uncheck several time checkbox, You will find Column Header have visibility syncronization problem with column body.
@page "/datagrid"
@using NorthwindBlazor.Data
@using NorthwindBlazor.Models.Northwind
@using Microsoft.EntityFrameworkCore
@inject NorthwindContext dbContext
<RadzenExample Name="DataGrid">
<RadzenCheckBox @bind-Value="ColumnVisible" TValue="bool" Change="()=>StateHasChanged()" />
<RadzenLabel Text="Visible" Style="font-size: 1rem;" Component="chkVisible" />
<RadzenGrid AllowFiltering="true" FilterCaseSensitivity="FilterCaseSensitivity.CaseInsensitive" AllowPaging="true" PageSize="4"
AllowSorting="true" Data="@employees" TItem="Employee" ColumnWidth="200px">
<Columns>
<RadzenGridColumn TItem="Employee" Property="EmployeeID" Title="Employee ID" />
<RadzenGridColumn TItem="Employee" Property="Photo" Title="Photo" Sortable="false" Filterable="false">
<Template Context="data">
<RadzenImage Path="@data?.Photo" />
</Template>
</RadzenGridColumn>
<RadzenGridColumn Visible="ColumnVisible" TItem="Employee" Property="LastName" Title="Last Name" />
<RadzenGridColumn Visible="ColumnVisible" TItem="Employee" Property="FirstName" Title="First Name" />
<RadzenGridColumn TItem="Employee" Property="Title" Title="Title" />
<RadzenGridColumn TItem="Employee" Property="TitleOfCourtesy" Title="Title Of Courtesy" />
</Columns>
</RadzenGrid>
</RadzenExample>
@code {
IEnumerable<Employee> employees;
bool ColumnVisible = true;
protected override void OnInitialized()
{
employees = dbContext.Employees.ToList();
}
}