XUL:grid
From MDC
« XUL Reference home [ Examples | Attributes | Properties | Methods | Related ]
A grid is an element that contains both rows and columns elements. It is used to create a grid of elements. Both the rows and columns are displayed at once although only one will typically contain content, while the other may provide size information. Whichever is last in the grid is displayed on top.
More information is available in the XUL tutorial.
[edit] Example
<!-- groupbox containing a grid.
The second column is twice as big as the first column -->
<groupbox>
<caption label="Details"/>
<grid>
<columns>
<column flex="1"/>
<column flex="2"/>
</columns>
<rows>
<row>
<label value="User name"/>
<textbox id="user"/>
</row>
<row>
<label value="Group"/>
<menulist>
<menupopup>
<menuitem label="Accounts"/>
<menuitem label="Sales" selected="true"/>
<menuitem label="Support"/>
</menupopup>
</menulist>
</row>
</rows>
</grid>
</groupbox>
[edit] Attributes
|
Inherited from XUL element |
[edit] Properties
|
Inherited from XUL element Inherited from DOM element |
[edit] Methods
|
Inherited from XUL element Inherited from DOM element |
