Skip to content

Commit 83d2295

Browse files
committed
feat: 增加 FitColumnWidthIncludeHeader 参数
1 parent 737e58a commit 83d2295

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/BootstrapBlazor/Components/Table/Table.razor.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1590,6 +1590,12 @@ private async Task OnContextMenu(MouseEventArgs e, TItem item)
15901590
[Parameter]
15911591
public Func<string, Task<float>>? OnAutoFitContentAsync { get; set; }
15921592

1593+
/// <summary>
1594+
/// 获得/设置 列宽自适应时是否包含表头 默认 false
1595+
/// </summary>
1596+
[Parameter]
1597+
public bool FitColumnWidthIncludeHeader { get; set; }
1598+
15931599
/// <summary>
15941600
/// 列宽自适应方法
15951601
/// </summary>

0 commit comments

Comments
 (0)