[ type ] TableColumn
Description:
Table column configuration object used in Table components.
Type: Object
Properties:
| Name | Type | Description |
|---|---|---|
|
string | The text to be displayed in the column header. (Required when creating a new column) |
|
string | Type of component to display/edit cell data. Possible values:
|
|
Sorting mode. |
|
|
number | For |
|
number | For |
|
boolean | Indicates if the column can be resized by the user. |
|
boolean | Indicates if column auto-resizes with table (Has no effect if the table's auto-resize mode is Table.AutoResize.None). |
|
boolean | Indicates a column with primary data, such as a URL or file path, used as the data source for list generation or drag-and-drop operations. |
|
number | Initial desired width of the column. |
|
number | Minimum width column can be resized to. |
|
number | Maximum width column can be resized to. |
|
boolean | Whether the column is hidden by collapsing its width to 0. |
|
string | The character used to mask input for the |
|
number | Minimum value for progress bar component when type is |
|
number | Maximum value for progress bar component when type is |
|
boolean | Whether to display the value as text inside the progress bar component when type is |
|
boolean | Whether text fields are editable. |
|
number | Number of clicks required to enter edit mode. Takes effect only when |
|
string | null | Background color of cells of the column. |
|
string | null | Background color of a column header. |
|
string | null | Text color of cells of the column. |
|
string | null | Text color of a column header. |
|
Font | null | Font of cells of a column. |
|
Font | null | Font of a column header. |
|
string | Text alignment in cells of the column. |
|
string | Text alignment of a column header. |
|
Array.<string> | List of values to choose from in a ComboBox component when type is |
Examples:
Creating a simple column object:
let column = {
text: "New Column",
header_align: "center"
};
