Beispiel #1
0
        /// <summary>
        /// 添加内容
        /// </summary>
        protected virtual void AddBody(TableBodyBuilder tableBodyBuilder)
        {
            var rowBuilder = new RowBuilder();

            rowBuilder.ConfigIterationVar(_config.Id);
            AddEditRow(rowBuilder);
            AddRowEvents(rowBuilder);
            rowBuilder.AppendContent(_config.Content);
            tableBodyBuilder.AppendContent(rowBuilder);
        }
Beispiel #2
0
        /// <summary>
        /// 添加内容
        /// </summary>
        protected virtual void AddBody(TableBodyBuilder tableBodyBuilder)
        {
            var rowBuilder = new RowBuilder();

            rowBuilder.NgFor($"let row of {_config.Id}.data");
            AddEditRow(rowBuilder);
            AddRowEvents(rowBuilder);
            rowBuilder.AppendContent(_config.Content);
            tableBodyBuilder.AppendContent(rowBuilder);
        }