Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Scout/Concepts/Column
The Scout documentation has been moved to https://eclipsescout.github.io/.
Columns describe the structure of a The Scout documentation has been moved to https://eclipsescout.github.io/.
- implements: The Scout documentation has been moved to https://eclipsescout.github.io/.
- extends: The Scout documentation has been moved to https://eclipsescout.github.io/.
Description
A column is the entity of a table describing the structure of the data displayed in the table. Depending on the The Scout documentation has been moved to https://eclipsescout.github.io/. contained in the column, one of the child implementation specialized for the given type should be considered.
ColumnSet
Type of column
- The Scout documentation has been moved to https://eclipsescout.github.io/.
- The Scout documentation has been moved to https://eclipsescout.github.io/.
- The Scout documentation has been moved to https://eclipsescout.github.io/.
- The Scout documentation has been moved to https://eclipsescout.github.io/.
- The Scout documentation has been moved to https://eclipsescout.github.io/.
- The Scout documentation has been moved to https://eclipsescout.github.io/.
- The Scout documentation has been moved to https://eclipsescout.github.io/.
- The Scout documentation has been moved to https://eclipsescout.github.io/.
Accessing the values
Columns are typed. They allow getting the value they contain for a specific row. The getValue(row)
is also typed:
getTable().getNameColumn().getValue(row); //returns a String if NameColumn is a StringColumn.
This way is better than the un-typed getValue() proposed by the table row:
row.getCell(getTable().getNameColumn()).getValue(); //returns Object
There are other convenience methods:
-
getSelectedValue()
returning the value for column of the selected row -
getSelectedValues()
same function but useful if the table allows multiple rows selection. -
getValues(rows)
the function takes as input an array of rows and return their values.
Properties
Defined with The Scout documentation has been moved to https://eclipsescout.github.io/. methods.
The Scout documentation has been moved to https://eclipsescout.github.io/. Only displayable columns can be displayed in the table. Not displayable columns are suitable for values that you need to have for each row (typically an unique id that you need to pass to a form that is opened when you edit the entity represented in the row).
The Scout documentation has been moved to https://eclipsescout.github.io/. A column can be visible or not. The default behavior of a table lets the user configure the columns he want to display in a table.
The Scout documentation has been moved to https://eclipsescout.github.io/. Defines that the column will contribute its text to the The Scout documentation has been moved to https://eclipsescout.github.io/..
The Scout documentation has been moved to https://eclipsescout.github.io/. TODO
Sorting properties
- ... TODO
- ...
- ...
Events
Defined with The Scout documentation has been moved to https://eclipsescout.github.io/. methods.
See Also
- The Scout documentation has been moved to https://eclipsescout.github.io/.