RealGrid2 API
Interface
CellLayoutItem

CellLayoutItem

Base model for setting up the layout

Signature:

export interface CellLayoutItem

Remarks

When setting GridBase.setColumnLayout() using a submodel, only specific properties can be used.

[subclass]

CellLayoutColumnItem

CellLayoutGroupItem

Properties

PropertyTypeDescription
cellWidthnumbercell width
fillWidthnumberWidth ratio used after set to GridFitStyle.FILL
groupShowModeGroupShowModeIt is displayed or hidden accordingly in the expanded state of the parent layout.
namestringlayout name
typeCellLayoutTypeSpecifies the type of layout.
vindexnumberDisplay order within the entire group or parent group
visiblebooleanVisibility
widthnumberwidth

Properties Desc

cellWidth

cell width

Type - number


fillWidth

Width ratio used after being set to GridFitStyle.FILL

Type - number


groupShowMode

It is displayed or hidden accordingly in the expanded state of the parent layout.

Type - GroupShowMode


name

layout name

Type - string

Remarks:

It can be set with GridBase.setColumnLayout().


type

Specifies the type of layout.

Type - CellLayoutType

Remarks:

See CellLayoutType


vindex

Display order within the entire group or parent group

Type - number


visible

Visibility

Type - boolean

Remarks:

It can be set with GridBase.setColumnLayout().


width

width

Type - number

Remarks:

It can be set with GridBase.setColumnLayout().