コード例 #1
0
        internal TagBuilder BuildCell(string tagName, DataField field)
        {
            var cell = new TagBuilder(tagName);

            cell.AddCssClass("kt-datatable__cell");

            if (field.IsNotNull())
            {
                cell.Attributes.Add("data-field", field.Name);
            }

            return(cell);
        }