mirror of
https://github.com/dotnetcore/BootstrapBlazor.git
synced 2025-12-20 02:16:40 +08:00
!1874 fix(#I4ASEJ): no trigger OnCellRender when set AutoGenerateColumn to true
* fix: 修复开启自动生成列后不触发 OnCellRender 回调问题
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -618,7 +618,7 @@ RenderFragment<TItem> RenderRow => item =>
|
||||
}
|
||||
else
|
||||
{
|
||||
@if (string.IsNullOrEmpty(value))
|
||||
@if (value == null)
|
||||
{
|
||||
@GetValue(col, item)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user