Interface GridCellControl

All Superinterfaces:
BackgroundStyleProperties, BorderStyleProperties, ContainerControl, Control, Element, EventOwner, LayoutControl, MessageContainer, MessageProperties, PaddingStyleProperties, java.io.Serializable, TextStyleProperties, WebFormEventOwner

public interface GridCellControl
extends LayoutControl, BackgroundStyleProperties, BorderStyleProperties, PaddingStyleProperties, TextStyleProperties
A Grid Cell Control represents a single cell within a Grid Control. It is a system control and cannot be inserted or deleted manually; instead Grid Cell Controls are added and deleted automatically as a result of designer actions such as insert column, delete column etc.

Each Grid Cell Control acts as a container for any content added to it.

Further documentation.

  • Method Details

    • getHeight

      java.lang.String getHeight()
      Grid cell height. This is equivalent to the CSS height property, and any valid value for this CSS property can be used when setting a value.
      Since:
      V4.4
      See Also:
      setHeight(String)
    • setHeight

      void setHeight​(java.lang.String height)
      Sets the grid cell height, and is equivalent to the CSS height property and any valid value for this CSS property can be used. Setting this property to null removes any existing value.

      Examples:

       controls.GRIDCELL1.height = "50px";
       controls.GRIDCELL1.setHeight("100px");
       
      Since:
      V4.4
    • getVAlign

      java.lang.String getVAlign()
      Vertical alignment for all child content - all child controls are aligned as a single block. See setVAlign(String) for details of supported values when setting this property.
      Since:
      V4.4
    • setVAlign

      void setVAlign​(java.lang.String vAlign)
      Sets the vertical alignment for all child content where all child controls are aligned as a single block.

      Supported values:

      ValueConstant
      CenterControlConstants.VERTICAL_ALIGNMENT_CENTER
      TopControlConstants.VERTICAL_ALIGNMENT_TOP
      BottomControlConstants.VERTICAL_ALIGNMENT_BOTTOM

      Example:

       controls.GRIDCELL1.setVAlign(ControlConstants.VERTICAL_ALIGNMENT_TOP);
       
      Since:
      V4.4