Tabular view columns
Tabular views contain columns used to represent specific information about the exposed elements. See the information on this page to learn about table columns before you start modeling them.
Columns in tabular view definitions and usages
Tabular views and their definitions can differ in the table columns they contain:
- Tabular view definitions:
- Predefined tabular view definitions come with predefined columns.
- Custom tabular view definitions contain only the columns you specify.
- Tabular view usages inherit columns from the view definitions they are defined by. You can also specify custom columns for them.
Column kinds
Currently, there are 2 model-based table column kinds available for modeling. The columns you create for a tabular view usage or definition must be defined by one of these column definitions, depending on the column's purpose. The table below lists:
- Column kinds and their descriptions.
- Relevant information regarding cell type according to column kind.
- The cell type enables correct data representation and correct cell value type (e.g., String, Boolean, etc.) suggestions upon cell editing.
- Predefined attributes applicable to each column kind.
| Column | Description | Cells | Column attributes |
|---|---|---|---|
| ColumnByFeatureView | Dedicated to simple metadata feature value retrieval. It requires the expression to return only 1 metadata feature, like Element::declaredName or FeatureValue::value. The expression is specified for the feature columnFeature. |
|
|
| ColumnByExpressionView | Dedicated to complex metadata feature value retrieval. For example, when the value of the owned attribute needs to be retrieved, the feature chain expression is needed to access this information. |
The editing of ColumnByExpressionView cells is not yet supported in the table view's diagrammatic representation. rendering def BooleanCellRendering :> TableCellRendering; rendering def TableCellRendering { |
|