Excel.Interfaces.TableUpdateData interface
An interface for updating data on the Table
object, for use in table.set({ ... })
.
Properties
name | Name of the table. The set name of the table must follow the guidelines specified in the Rename an Excel table article. |
show |
Specifies if the header row is visible. This value can be set to show or remove the header row. |
show |
Specifies if the total row is visible. This value can be set to show or remove the total row. |
style | Constant value that represents the table style. Possible values are: "TableStyleLight1" through "TableStyleLight21", "TableStyleMedium1" through "TableStyleMedium28", "TableStyleDark1" through "TableStyleDark11". A custom user-defined style present in the workbook can also be specified. |
Property Details
name
Name of the table.
The set name of the table must follow the guidelines specified in the Rename an Excel table article.
name?: string;
Property Value
string
Remarks
showHeaders
Specifies if the header row is visible. This value can be set to show or remove the header row.
showHeaders?: boolean;
Property Value
boolean
Remarks
showTotals
Specifies if the total row is visible. This value can be set to show or remove the total row.
showTotals?: boolean;
Property Value
boolean
Remarks
style
Constant value that represents the table style. Possible values are: "TableStyleLight1" through "TableStyleLight21", "TableStyleMedium1" through "TableStyleMedium28", "TableStyleDark1" through "TableStyleDark11". A custom user-defined style present in the workbook can also be specified.
style?: string;
Property Value
string
Remarks
Office Add-ins