예제 #1
0
        /// <summary>
        /// 添加标签生成器
        /// </summary>
        private void AddSpanBuilder(TableHeadColumnBuilder headColumnBuilder, ColumnInfo column)
        {
            var spanBuilder = new SpanBuilder();

            spanBuilder.AddAttribute("*ngIf", $"!{GetWrapperId()}.showCheckbox");
            spanBuilder.SetContent(column.Title);
            headColumnBuilder.AppendContent(spanBuilder);
        }