예제 #1
0
파일: RowRender.cs 프로젝트: zjxbetter/Util
 /// <summary>
 /// 配置列集合
 /// </summary>
 private void ConfigColumns(RowBuilder builder)
 {
     if (_config.Contains(UiConst.Columns))
     {
         builder.AddColumns(_config.GetValue(UiConst.Columns));
     }
 }
예제 #2
0
        /// <summary>
        /// 添加行
        /// </summary>
        protected void AddRow(TagBuilder tableBuilder, string columns)
        {
            var rowBuilder = new RowBuilder();

            rowBuilder.AddColumns(columns);
            tableBuilder.AppendContent(rowBuilder);
        }
예제 #3
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);
        }