TTableColumnDefinition.TTableColumnDefinition Constructor
Overloads
- TTableColumnDefinition.TTableColumnDefinition(String, Int32)
- TTableColumnDefinition.TTableColumnDefinition(String, Int32, Nullable<TTableFormula>, Nullable<TTableFormula>, String, String, String, TTotalsRowFunction, String)
TTableColumnDefinition.TTableColumnDefinition(String, Int32)
Creates a new TTableColumnDefinition with a Name and Id.
Syntax
Namespace: FlexCel.Core
public TTableColumnDefinition(String aName, Int32 aId)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
aName | String | Name of the column. | |
aId | Int32 | Id used to identify the column. It must be unique in the table, and it must not change when the column name change or the column moves. |
See also
TTableColumnDefinition.TTableColumnDefinition(String, Int32, Nullable<TTableFormula>, Nullable<TTableFormula>, String, String, String, TTotalsRowFunction, String)
Creates a new TTableColumnDefinition.
Syntax
Namespace: FlexCel.Core
public TTableColumnDefinition(String aName, Int32 aId, Nullable<TTableFormula> aCalculatedColumnFormula, Nullable<TTableFormula> aTotalsRowFormula, String aDataCellStyle, String aHeaderRowCellStyle, String aTotalsRowCellStyle, TTotalsRowFunction aTotalsRowFunction, String aTotalsRowLabel)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
aName | String | Name of the column. | |
aId | Int32 | Id used to identify the column. It must be unique in the table, and it must not change when the column name change or the column moves. | |
aCalculatedColumnFormula | Nullable<TTableFormula> | Stores the formula that is used to perform the calculation for each cell in this column. Note that the column can have different formulas from this one, but this is normally not the case. This formula is also used by Excel to automatically add new formulas when you add new rows to the table. FlexCel doesn't automatically adds this formula to the new rows, you need to set the cells to the formula manually if you want to. |
|
aTotalsRowFormula | Nullable<TTableFormula> | A custom formula for aggregating values from the column. This formula is only used if TotalsRowFunction is set to "Custom". | |
aDataCellStyle | String | Style for the cells in the column, if they don't have a given cell style. | |
aHeaderRowCellStyle | String | Style for the header row cell in the column, if it doesn't have a given cell style. | |
aTotalsRowCellStyle | String | Style for the totals row cell in the column, if it doesn't have a given cell style. | |
aTotalsRowFunction | TTotalsRowFunction | An enumeration that specifies what function is used to aggregate the data in a column. | |
aTotalsRowLabel | String | A String to show in the totals row cell for this column. This is ignored unless TotalsRowFunction is none. |