테이블

컴포넌트 속성 {#component-attribute}

컴포넌트 속성 종류 {#component-attribute-type}

종류코드설명
CP_TABLE_FORM002행 추가.
001: 사용 안 함
002: 사용
CP_TABLE_FORM003필드 레이블 설정

컴포넌트 속성 정보 {#component-attribute-data}

속성타입설명
attributeTypestring속성 종류
attributeIdstring속성 ID
attributeNamestring속성 이름
attributeValueobject속성값

컴포넌트 속성 정보 상세 {#component-attribute-data-detail}

tables {#component-attribute-data-tables}

속성타입설명
cellIdstring열(column) ID
cellTypestring열 종류.
text: 문자
number: 숫자
date: 날짜
combo: 셀렉트 박스
multiCombo: 멀티 셀렉트 박스
sequence: 번호
link: 링크
emp-search: 사원 검색
cellNamestring열 이름
comboOptionItemobject셀렉트 박스 옵션.
001: 직접 입력
002: 연동 코드 선택
comboItemsarray사용자가 추가한 셀렉트 박스 항목
multiComboItemsarray사용자가 추가한 멀티 셀렉트 박스 항목
comboOptionCodeItemobject사용자가 선택한 연동 코드 항목

Response Example {#component-attribute-example}

[  {      "attributeType": "CP_TABLE_FORM",      "attributeId": "002",      "attributeName": "행 추가",      "attributeValue": {          "items": [              {                  "itemId": "002",                  "itemName": "사용"              }          ]      }  },  {      "attributeType": "CP_TABLE_FORM",      "attributeId": "003",      "attributeName": "필드 레이블 설정",      "attributeValue": {          "tables": [              {                  "cellId": "ID",                  "cellType": "text",                    "cellName": "이름"              },              {                  "cellId": "ID",                  "cellType": "number",                  "cellName": "나이"              },              {                  "cellId": "ID",                  "cellType": "date",                  "cellName": "생년월일"              },              {                  "cellId": "ID",                  "cellType": "combo",                  "cellName": "취미",                  "comboOptionItem": {                      "itemId": "001",                      "itemName": "직접 입력"                  },                  "comboItems": [                      {                          "itemId": "ID",                          "itemName": "등산"                      },                      {                          "itemId": "ID",                          "itemName": "독서"                      }                  ]              },              {                  "cellId": "ID",                  "cellType": "multiCombo",                  "cellName": "취미",                  "multiComboItems": [                      {                          "itemId": "ID",                          "itemName": "등산"                      },                      {                          "itemId": "ID",                          "itemName": "독서"                      }                  ]              },              {                  "cellId": "ID",                  "cellType": "combo",                  "cellName": "연동 코드",                  "comboOptionItem": {                      "itemId": "002",                      "itemName": "연동 코드 선택"                  },                  "comboOptionCodeItem": {                      "itemId": "bank",                      "itemName": "은행"                  }              },              {                  "cellId": "ID",                  "cellType": "sequence",                  "cellName": "번호"              },              {                  "cellId": "ID",                  "cellType": "link",                  "cellName": "홈페이지"              },              {                  "cellId": "ID",                  "cellType": "emp-search",                  "cellName": "구성원"              }          ]      }  }]