RealGrid2 API
Interface
CellLayoutItem

CellLayoutItem

레이아웃을 설정하기 위한 기반 모델

Signature:

export interface CellLayoutItem 

Remarks

하위 모델을 이용하여 GridBase.setColumnLayout() 으로 설정 시, 특정 속성만 사용 가능하다.

[하위 클래스]

CellLayoutColumnItem

CellLayoutGroupItem

Properties

PropertyModifiersTypeDescription
cellWidthnumber셀 너비
fillWidthnumberGridFitStyle.FILL 로 설정된 후 사용하는 너비 비율
groupShowModeGroupShowMode상위 레이아웃의 expanded상태에서 따라서 표시하거나 숨긴다.
namestring레이아웃 명
typeCellLayoutTypelayout의 type을 지정한다.
vindexreadonlynumber전체 그룹 혹은 상위 그룹 내에서의 표시 순서
visibleboolean표시 여부
widthnumber너비

Properties Desc

cellWidth

셀 너비

fillWidth

GridFitStyle.FILL 로 설정된 후 사용하는 너비 비율

groupShowMode

상위 레이아웃의 expanded상태에서 따라서 표시하거나 숨긴다.

name

레이아웃 명

Remarks:

GridBase.setColumnLayout() 로 설정 할 수 있다.

type

layout의 type을 지정한다.

Remarks:

CellLayoutType 참조

vindex

전체 그룹 혹은 상위 그룹 내에서의 표시 순서

visible

표시 여부

Remarks:

GridBase.setColumnLayout() 로 설정 할 수 있다.

width

너비

Remarks:

GridBase.setColumnLayout() 로 설정 할 수 있다.