We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbb85fb commit 0cfe26cCopy full SHA for 0cfe26c
src/BootstrapBlazor/Components/Table/Table.razor.cs
@@ -1065,7 +1065,7 @@ private async Task OnTableRenderAsync(bool firstRender)
1065
await InvokeVoidAsync("init", Id, Interop, new
1066
{
1067
DragColumnCallback = nameof(DragColumnCallback),
1068
- AutoFitContentCallback = nameof(AutoFitContentCallback),
+ AutoFitContentCallback = OnAutoFitContentAsync == null ? null : nameof(AutoFitContentCallback),
1069
ResizeColumnCallback = OnResizeColumnAsync != null ? nameof(ResizeColumnCallback) : null,
1070
ColumnMinWidth = ColumnMinWidth ?? Options.CurrentValue.TableSettings.ColumnMinWidth,
1071
ScrollWidth = ActualScrollWidth,
0 commit comments