diff --git a/GridBlazor/Pages/GridCellComponent.razor.cs b/GridBlazor/Pages/GridCellComponent.razor.cs index 682db61d..bf4c6312 100644 --- a/GridBlazor/Pages/GridCellComponent.razor.cs +++ b/GridBlazor/Pages/GridCellComponent.razor.cs @@ -37,6 +37,8 @@ public partial class GridCellComponent protected override void OnParametersSet() { _componentType = Column.ComponentType; + _cell = default; + _cellRender = default; if (_componentType != null) _cellRender = CreateComponent(_sequence, GridComponent, _componentType, Column, Item, RowId, false, new VariableReference(ChildComponent));