getColByIndex (method)

좌측부터 열의 index를 기준으로 열이름을 확인합니다.
index1부터 시작합니다.
해당 함수는 기본적으로 보여지는 열을 기준으로 확인합니다.
includeHideCol 또는 Cfg: GetColWithHide 를 설정하여 Visible 관계없이 가져옵니다.
우선 순위는 includeHideCol > GetColWithHide 임으로, GetColWithHidetrue로 설정 하여도 includeHideColfalse로 설정시에는 보여지는 열을 기준으로 동작하게 할 수 있습니다.

Syntax

string getColByIndex( index, includeHideCol );

Parameters

Name Type Required Description
index number 필수 열의 index
includeHideCol boolean 선택 true 설정시 Col.Visible 관계없이 인덱스를 추출함

Return Value

string : 지정한 위치에 있는 열이름

Example

//3번째 열(1부터 시작함으로)의 열이름을 확인
var fcol = sheet.getColByIndex(3);

Read More

Since

product version desc
core 8.0.0.0 기능 추가
core 8.0.0.11 includeHideCol 인자 추가