Warning: Use of undefined constant Symbol - assumed 'Symbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215 Warning: Use of undefined constant JavaScriptSymbol - assumed 'JavaScriptSymbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215

dojox/layout/TableContainer.js

  • Provides:

    • dojox.layout.TableContainer
  • Requires:

    • dijit.layout._LayoutWidget in common
  • dijit._Widget

    • type
      Function
  • dijit._Widget.label

    • type
      String
    • summary
      The label to display for a given widget
  • dijit._Widget.title

    • type
      String
    • summary
      The label to display for a given widget.  This is interchangeable
      with the 'label' parameter, as some widgets already have a use
      for the 'label', and this can be used instead to avoid conflicts.
  • dijit._Widget.spanLabel

    • type
      Boolean
    • summary
      Setting spanLabel to true makes the widget take up both the
      label and value cells. Defaults to false.
  • dijit._Widget.colspan

    • type
      Number
    • summary
      The number of columns this widget should span.
  • dojox.layout.TableContainer

    • type
      Function
    • chains:
      • dijit.layout._LayoutWidget: (prototype)
      • dijit.layout._LayoutWidget: (call)
    • summary
      A container that lays out its child widgets in a table layout.
    • description
      The TableContainer lays out child widgets in a Table layout.
      Each widget can specify a "label" or a "title" parameter.
      This label is displayed either above or to the left of
      a widget depending on whether the "orientation" attribute
      is "horiz" or "vert", for horizontal and vertical respectively.
      The number of columns is configured using the "cols" attribute.
      The width of labels can be configured using the "labelWidth" parameter.
    • example
      	<div dojoType="dojox.layout.TableContainer" orientation="vert" cols="3>
      		<div dojoType="dijit.form.TextInput" value="John" label="First Name:"></div>
      		<div dojoType="dijit.form.CheckBox" label="Is Student?:"></div>
      		<div dojoType="dojox.form.DateTextBox" label="Date Of Birth:"></div>
      	</div>
  • dojox.layout.TableContainer.cols

    • type
      Number
  • dojox.layout.TableContainer.labelWidth

    • type
      Number|String
    • summary
      Defines the width of a label.  If the value is a number, it is
      treated as a pixel value.  The other valid value is a percentage,
      e.g. &quot;50%&quot;
  • dojox.layout.TableContainer.showLabels

    • type
      Boolean
    • summary
      True if labels should be displayed, false otherwise.
  • dojox.layout.TableContainer.orientation

    • type
      String
    • summary
      Either &quot;horiz&quot; or &quot;vert&quot; for label orientation.
  • dojox.layout.TableContainer.spacing

    • type
      Number
    • summary
      The cell spacing to apply to the table.
  • dojox.layout.TableContainer.customClass

    • type
      String
    • summary
      A CSS class that will be applied to child elements.  For example, if
      the class is &quot;myClass&quot;, the table will have &quot;myClass-table&quot; applied to it,
      each label TD will have &quot;myClass-labelCell&quot; applied, and each
      widget TD will have &quot;myClass-valueCell&quot; applied.
  • dojox.layout.TableContainer.postCreate

    • type
      Function
  • dojox.layout.TableContainer._children

    • type
      Array
  • dojox.layout.TableContainer.startup

    • type
      Function
  • dojox.layout.TableContainer._initialized

    • type
      Object
  • dojox.layout.TableContainer.resize

    • summary
      Resizes all children.  This widget itself
      does not resize, as it takes up 100% of the
      available width.
    • type
      Function
  • dojox.layout.TableContainer.layout

    • summary
      Lays out the child widgets.
    • type
      Function
  • dojox.layout.TableContainer.table

  • dojox.layout.TableContainer.destroyDescendants

    • parameters:
      • preserveDom: (typeof Boolean)
    • summary
      Destroys all the widgets inside this.containerNode,
      but not this widget itself
    • type
      Function
  • dojox.layout.TableContainer._setSpacingAttr

    • parameters:
      • value
    • summary
      Sets the spacing attribute.
    • type
      Function
  • dojox.layout.TableContainer.table.cellspacing

    • type
      Object
  • dojox.layout

    • type
      Object
  • dojox

    • type
      Object