RealGrid2 API
Interface
GroupLayoutInfo

GroupLayoutInfo

If the set layout is the CellLayoutGroupItem model, the object returned by GridBase.saveColumnLayout()

Signature:

export interface GroupLayoutInfo

Remarks

It is a type of LayoutInfo.

Example

{
    name: "countryGroup"
    items: [
        {column: "Country", visible: true, width: 100},
        {column: "Phone", visible: true, width: 100}
    ]
    visible: true,
    direction: "horizontal",
    width: 250,
    header: {visible: true, text: "Country Group"}
}

Properties

PropertyTypeDescription
directionColumnLayoutDirectionlayout direction
header{ visible: boolean; text: string; }Header Layout Information
items(ColumnLayoutInfo | GroupLayoutInfo)[]Sub-layouts
namestringlayout name
visiblebooleanVisibility
widthnumbercell width

Properties Desc

direction

layout direction

Type - ColumnLayoutDirection


header

Header Layout Information

Type - { visible: boolean; text: string; }

Remarks:

[List of properties]

visible - Visibility

text - header text


items

Sub-layout fields

Type - (ColumnLayoutInfo | GroupLayoutInfo)[]


name

layout name

Type - string


visible

Visibility

Type - boolean


width

cell width

Type - number