[]
• new TableColumn(id
, dataField?
, name?
, formatter?
, cellType?
, value?
, dataStyle?
, headerStyle?
, footerStyle?
)
Represents the table column information.
Name | Type | Description |
---|---|---|
id |
number |
The table column ID. |
dataField? |
string |
The table column data field. |
name? |
string |
The table column name. |
formatter? |
string |
The table column formatter. |
cellType? |
Base |
The table column cellType. |
value? |
Function |
The table column value convert function. |
dataStyle? |
string | Style |
the data style of the table column |
headerStyle? |
string | Style |
the header style of the table column |
footerStyle? |
string | Style |
the footer style of the table column |
▸ cellType(value?
): any
Gets or sets the table column cellType for custom cell type.
Name | Type | Description |
---|---|---|
value? |
Base |
The table column cellType. |
any
If no value is set, returns the table column cellType; otherwise, returns the table column.
▸ dataField(value?
): any
Gets or sets the table column data field for accessing the table's data source.
Name | Type | Description |
---|---|---|
value? |
string |
The table column data field. |
any
If no value is set, returns the table column data field; otherwise, returns the table column.
▸ dataStyle(value?
): any
Gets or sets the table column dataStyle.
Name | Type | Description |
---|---|---|
value? |
string | Style |
The table column dataStyle. |
any
If no value is set, returns the table column dataStyle; otherwise, returns the table column.
▸ footerStyle(value?
): any
Gets or sets the table column footerStyle.
Name | Type | Description |
---|---|---|
value? |
string | Style |
The table column footerStyle. |
any
If no value is set, returns the table column footerStyle; otherwise, returns the table column.
▸ formatter(value?
): any
Gets or sets the table column formatter for format display value.
Name | Type | Description |
---|---|---|
value? |
string |
The table column formatter. |
any
If no value is set, returns the table column formatter; otherwise, returns the table column.
▸ headerStyle(value?
): any
Gets or sets the table column headerStyle.
Name | Type | Description |
---|---|---|
value? |
string | Style |
The table column headerStyle. |
any
If no value is set, returns the table column headerStyle; otherwise, returns the table column.
▸ id(value?
): any
Gets or sets the table column ID.
Name | Type | Description |
---|---|---|
value? |
number |
The table column ID. |
any
If no value is set, returns the table column ID; otherwise, returns the table column.
▸ name(value?
): any
Gets or sets the table column name for display.
Name | Type | Description |
---|---|---|
value? |
string |
The table column name. |
any
If no value is set, returns the table column name; otherwise, returns the table column.
▸ value(value?
): Function
Gets or sets the table column value convert function for display value.
Name | Type | Description |
---|---|---|
value? |
Function |
The table column value convert function. |
Function
If no value is set, returns the table column value convert function; otherwise, returns the table column.