Skip to content

Commit f5d6e1f

Browse files
committed
feat(DefaultTableExport): 添加是否启用 Excel 自动筛选,是否启用 Excel 自动宽度参数 #5845
1 parent d1579e1 commit f5d6e1f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/BootstrapBlazor/Options/TableExportOptions.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,14 @@ public class TableExportOptions
3838
/// </summary>
3939
/// <remarks>注意格式化后返回值是 <code>string</code> 会导致原始值类型改变</remarks>
4040
public string ArrayDelimiter { get; set; } = ",";
41+
42+
/// <summary>
43+
/// 获得/设置 是否启用 Excel 自动筛选 默认 true
44+
/// </summary>
45+
public bool AutoFilter { get; set; } = true;
46+
47+
/// <summary>
48+
/// 获得/设置 是否启用 Excel 自动宽度 默认 false
49+
/// </summary>
50+
public bool EnableAutoWidth { get; set; }
4151
}

0 commit comments

Comments
 (0)