Class (row)

행에 포함된 각 셀에 커스텀 css 클래스를 설정합니다.
주의: Class로 적용한 css는 엑셀 다운로드시 디자인 반영되지 않습니다.

Type

string

Options

Value Description
string css에 지정한 클래스 명

Example

<style>
.rowAlert {font-weight:700;animation:blinkingText 1s infinite;}
@keyframes blinkingText{
0%{     color: #FF0000;    }
50%{     color: #FF0000;    }
80%{    color:transparent;  }
100%{   color: #FF0000;    }
}
.subTitle{color:#EDEDED;background-color:#666666;}
</style>
// 특정행의 글자를 붉은색에 깜빡이게 변경한다.
var row = sheet.getRowById("AR11")
row["Class"] = "rowAlert";
sheet.refreshRow(row);

// 헤더행의 타이틀과 배경 색상을 변경한다.
options.Def.Header = {"Class": "subTitle"};

Read More

Since

product version desc
core 8.0.0.0 기능 추가