RML Data Display Elements
<datagrid>
<datagrid>
represents an element capable of fetching, positioning and rendering dynamic tabulated data. For a detailed description see Data grid in the C++ Manual.
Supported when the Controls plugin is used.
Attributes
source
= datasource (CS)- The name of the data source and table that the rows of the data grid will be fetched from.
<col>
The <col>
element represents a column in the datagrid. Each column displays information about each row in the data source in the form of one or more fields.
Attributes
fields
= cdata (CS)- A comma-separated list of fields that this column will fetch from the data source about each row and display.
formatter
= cdata (CS)- The name of the data formatter to use to turn the raw field information into RML. If not set (or the formatter can’t be found) then the raw text will be displayed.
width
= number (CN)- The width (in px or %) of the column.
<dataselect>
The <dataselect>
element is described in the Forms section.