Align (col)

문자열 좌우 정렬을 설정합니다.
트리 또는 그룹에서 사용할 때는 기준으로 지정된 컬럼(트리의 접힘/펼침 아이콘이 보이는 컬럼)의 데이터영역은 Align이 먹지 않습니다.
상하 정렬과 관련해서는 VAlign속성을 참고하세요.

Type

string

Options

Value Description
Left 문자열 좌측 정렬
Center 문자열 가운데 정렬
Right 문자열 우측 정렬

Example

//특정 열의 문자열을 가운데 정렬로 설정
options.Cols = [
    {Type: "Int", Name: "Seq", Align: "Center", Width: 70, ...},
    {Type: "Date", Name: "enterDate", Align: "Center", Width: 120, ...},
    {Type: "Text", Name: "sa_Nm", Align: "Center", Width: 100, ...},
    ...
];

Read More

Since

product version desc
core 8.0.0.0 기능 추가