[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.ITable.ShowTotals

ShowTotals Property

ShowTotals

Gets or sets whether the totals row is visible.

Use this property to get or set whether the table currently displays a totals row.

Declaration
bool ShowTotals { get; set; }
Property ShowTotals As Boolean
Examples
worksheet.Range["A1:B3"].Value = new object[,] {
    {"Product", "Amount"},
    {"Apple", 100},
    {"Orange", 200}
};
ITable table = worksheet.Tables.Add(worksheet.Range["A1:B3"], true);
table.ShowTotals = true;
bool showTotals = table.ShowTotals;