public void Render() { var str = new SimpleTableReport($"Stat Grid {Season.Year}-{StatInFocus}") { ReportHeader = StatInFocus }; StyleHelper.AddStyle(str); str.ColumnHeadings = true; str.DoRowNumbers = true; str.ShowElapsedTime = false; str.IsFooter = false; str.Totals = true; str.AddColumn(new ReportColumn("Team", "TEAM", "{0}")); str.AddColumn(new ReportColumn("Total", "TOT", "{0}", tally: true)); str.AddColumn(new ReportColumn("Wk01", "WK01", "{0}", tally: true)); str.AddColumn(new ReportColumn("Wk02", "WK02", "{0}", tally: true)); str.AddColumn(new ReportColumn("Wk03", "WK03", "{0}", tally: true)); str.AddColumn(new ReportColumn("Wk04", "WK04", "{0}", tally: true)); str.AddColumn(new ReportColumn("Wk05", "WK05", "{0}", tally: true)); str.AddColumn(new ReportColumn("Wk06", "WK06", "{0}", tally: true)); str.AddColumn(new ReportColumn("Wk07", "WK07", "{0}", tally: true)); str.AddColumn(new ReportColumn("Wk08", "WK08", "{0}", tally: true)); str.AddColumn(new ReportColumn("Wk09", "WK09", "{0}", tally: true)); str.AddColumn(new ReportColumn("Wk10", "WK10", "{0}", tally: true)); str.AddColumn(new ReportColumn("Wk11", "WK11", "{0}", tally: true)); str.AddColumn(new ReportColumn("Wk12", "WK12", "{0}", tally: true)); str.AddColumn(new ReportColumn("Wk13", "WK13", "{0}", tally: true)); str.AddColumn(new ReportColumn("Wk14", "WK14", "{0}", tally: true)); str.AddColumn(new ReportColumn("Wk15", "WK15", "{0}", tally: true)); str.AddColumn(new ReportColumn("Wk16", "WK16", "{0}", tally: true)); str.AddColumn(new ReportColumn("Wk17", "WK17", "{0}", tally: true)); str.LoadBody(BuildTable()); //str.SubHeader = SubHeading(); str.RenderAsHtml(FileName(), true); }