protected override IHtmlNode BuildCore() { var col = new HtmlTag("col", TagRenderMode.SelfClosing) .ToggleAttribute("style", "width:" + column.Width, column.Width.HasValue()) .ToggleAttribute("style", "display:none;", column.Hidden); return col; }