Each section of a table row or column is called a cell. Cells can contain a wide variety of widgets.
The class property allows you to specify a cascading style sheet (CSS) class for the widget. This class will be applied to the widget in the browser and the widget will get the corresponding styling. The class should be a class from the theme that is used in the project. It overrules the default styling of the widget.
Note that the styling is applied in the following order:
- Default styling defined by the theme the project uses.
- The ‘Class’ property of the widget.
- The ‘Style’ property of the widget.
The style property allows you to specify additional CSS styling. If a class is also specified, this styling is applied after the class.
background-color:blue; This will result in a blue background
The render mode of a table cell determines what the table cell will look like.
|Header||The text is bold and aligned to the left.|
|Default||All text in the cell is aligned to the left.|
|Title||All text in the cell is aligned to the left.|
Indicates the type of the cell. Two types are supported:
|Normal||Normal cell containing data (<td>).|
|Header||Header cell containing captions (<th>).|
Default value: Normal