본문으로 건너뛰기

freezeCols()

설명​

열을 고정("동결")합니다

사용법​

freezeCols(cell?: string): void;

매개변수​

  • cell - (선택 사항) 열의 id를 정의하는 데 사용할 셀의 id. 셀 id를 전달하지 않으면 현재 선택된 셀이 사용됩니다

예제​

spreadsheet.freezeCols("B2"); // the columns up to the "B" column will be fixed
spreadsheet.freezeCols("sheet2!B2"); // the columns up to the "B" column in "sheet2" will be fixed

관련 문서: 스프레드시트 작업

관련 API: unfreezeCols()

관련 샘플: Spreadsheet. API를 통한 열 및 행 고정

변경 로그: v5.2에서 추가됨