diff --git a/src/BootstrapBlazor/Components/Table/InternalTableColumn.cs b/src/BootstrapBlazor/Components/Table/InternalTableColumn.cs index 51d8fc90f7148a920bd928322a06cbc2217bb2cf..64569449a7f0982e147b90c9f8b17fab15d75a05 100644 --- a/src/BootstrapBlazor/Components/Table/InternalTableColumn.cs +++ b/src/BootstrapBlazor/Components/Table/InternalTableColumn.cs @@ -251,6 +251,7 @@ namespace BootstrapBlazor.Components if (source.Rows > 0) dest.Rows = source.Rows; if (source.ComponentType != null) dest.ComponentType = source.ComponentType; if (source.ComponentParameters != null) dest.ComponentParameters = source.ComponentParameters; + if (source.OnCellRender != null) dest.OnCellRender = source.OnCellRender; } } } diff --git a/src/BootstrapBlazor/Components/Table/Table.razor b/src/BootstrapBlazor/Components/Table/Table.razor index 9bbd7bee7623606ce7718ec399e94d22284cf10f..a91c781bd2aca0226108bebfd82d8d60cd06de56 100644 --- a/src/BootstrapBlazor/Components/Table/Table.razor +++ b/src/BootstrapBlazor/Components/Table/Table.razor @@ -618,7 +618,7 @@ RenderFragment RenderRow => item => } else { - @if (string.IsNullOrEmpty(value)) + @if (value == null) { @GetValue(col, item) }