public virtual IHtmlNode CreateCell() { var td = new HtmlElement("td").Attributes(htmlAttributes); if (template.HasValue()) { template.Apply(AggregateResults, td); } else { td.Html(" "); } Decorate(td); return(td); }