User:Jcreer/SMS:DMI Table Elements
From XMS Wiki
Jump to navigationJump to search
Element <column>
Info | Definition of the column in the table. A widget defined in a column will be the widget used for each cell in the column. |
Versions | 1, 2 |
Attributes | none |
Children | text, read_only, optional, dependency, text_box, combo_box, edit_box, all elements starting with “custom_control”, check_box |
Used by | table |
Example | Column1 is read only, Column 2 isn’t read only and is also optional. This means the column can have empty fields and a warning message won’t be displayed.
< table > … <column> <text>Column1</text> <read_only></read_only> </ column > < column > <text>Column2</text> <optional></optional> </ column > </ table > |
Element < table >
Info | Table widget with columns and rows. Will most likely have multiple column and row tags. |
Versions | 1, 2 |
Attributes | none |
Children | read_only, column, row, dependency, unique_name, text_style |
Used by | item |
Example | Read only table with 2 columns and 3 rows. The number of rows are fixed.
< table > <unique_name>myTable </unique_name> <read_only></read_only> <fixed_row_count>3</fixed_row_count> <column> <text>hours</text> </column> <column> <text>minutes</text> </column> </ table > |