Esempio n. 1
0
        /// <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);
        }
Esempio n. 2
0
 /// <summary>
 /// 配置事件
 /// </summary>
 private void ConfigEvents(RowBuilder builder)
 {
     builder.OnClick(_config.GetValue(UiConst.OnClick));
 }