• orientation – The location of the labels relative to the field. The choices are:
◦ "vert" – The label is above the field.
◦ "horiz" – The label is to the left of the field. This is the default.
See also:
• Dojo Docs – dojox/layout/TableContainer – 1.10
dojox/layout/GridContainer
The notion behind this widget is to provide a container into which other widgets can be placed. The
widgets contained within can be dragged and dropped dynamically by the end user into a set of
columns. This provides a simple "Portal" like environment.
When the widget is included, two new properties are added to the base class of other Dijit widgets
(inherited through _WidgetBase). These properties are:
• column – Which column should the widget be in? Columns start at 1.
• dragRestriction – Should the widget be allowed to be dragged?
In order to use this widget, one must include the following CSS style sheets:
• dojox/layout/resources/GridContainer.css
• dojox/layout/resources/DndGridContainer.css
The properties of this widget include:
• acceptTypes
• colWidths – A list of column widths. The encoding is a comma separated string.
• hasResizableColumns – Can the columns be resized?
• isAutoOrganized – Should the widgets be organized for us? Default is true.
• isLeftFixed
• isRightFixed
• liveResizeColumns
• minColWidth – The minimum column width as a percentage.
• mode – If dynamically adding columns, do we add to the left or the right?
Page 172
Comentários a estes Manuais