The Content component
This component can contain any HTML content.
However, if you want to display an HTML table, it is strongly advised to use the HtmlTable functionality.
Note that it is possible to add conditional contents with string interpolation.
The Content component does not have a value and therefore it is not part of the submission data.
In addition to the properties listed below, this component inherits properties and methods from the superclass Component. For example, any Content component has a hidden property even though this is not explicitly listed here.
Properties
| Name | Description | Datatype | Default |
|---|---|---|---|
| html | The HTML contents of the component. | String | |
| refreshOnChange | Whether or not to refresh the content when it changes. | Boolean | False |
| 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 |
See also
- Custom HTML tables can be created and updated efficiently with the
HtmlTablefunctionality. - The
HtmlElementis similar to the Content component in the sense that both display custom HTML. - The
Hiddencomponent for an example on how to change the displayed content after initialization.