/// <summary> /// 配置列集合 /// </summary> private void ConfigColumns(RowBuilder builder) { if (_config.Contains(UiConst.Columns)) { builder.AddColumns(_config.GetValue(UiConst.Columns)); } }
/// <summary> /// 添加行 /// </summary> protected void AddRow(TagBuilder tableBuilder, string columns) { var rowBuilder = new RowBuilder(); rowBuilder.AddColumns(columns); tableBuilder.AppendContent(rowBuilder); }
/// <summary> /// 添加行 /// </summary> protected void AddRow(TagBuilder tableBuilder, string columns) { var rowBuilder = new RowBuilder(); rowBuilder.AddColumns(columns); rowBuilder.OnClick(_config.GetValue(UiConst.OnClickRow)); rowBuilder.AddSelected(_config.Id); tableBuilder.AppendContent(rowBuilder); }