The Container component
A Container can hold multiple other components.
In addition to the properties and methods listed below, this component inherits properties and methods from the superclass Component
. For example, any Container component has a label
and tooltip
property even though these are not explicitly listed here.
Properties
Name | Description | Datatype | Default |
---|---|---|---|
hideLabel | Whether or not the label of the container must be hidden. | Boolean | True |
labelPosition | Position of the label with respect to the container. Can be 'top' , 'bottom' , 'right-right' , 'left-right' , 'left-left' or 'right-left' . | String | "top" |
tree | Determines if the Validation should be performed within this component. | Boolean | True |
tableView | When true and the component is part of an EditGrid, the component's value is shown (simplified) in the collapsed row of the EditGrid. | Boolean | False |
Methods
Name | Syntax | Description |
---|---|---|
addComponent | obj.addComponent(component1, component2) | Add components to the container. |
See also
- Component nesting
- Panel and Well components can be used in a similar fashion.