행 단위로 Formula와 attribute+Formula 계산을 활성화할지 여부를 설정합니다.
Def.Row.CanFormula: 1로 전체 행 일괄 적용하거나, 특정 행만CanFormula: 1로 지정해 calculate로 부분 계산할 수 있습니다.
boolean
| Value | Description |
|---|---|
0(false) |
Formula 동작 안 함 (default) |
1(true) |
Formula 동작 가능 |
// 전체 데이터행 Formula 허용 (가장 흔한 사용)
options.Def = {
Row: { CanFormula: 1 }
};
// 또는 전체는 비활성화하고 특정 행만 부분 적용 (성능 최적화 등 특수 케이스)
options.Def = {
Row: { CanFormula: 0 }
};
// 조회 후 특정 행만 활성화
sheet.getRowById("AR3")["CanFormula"] = 1;
sheet.getRowById("AR5")["CanFormula"] = 1;
// Formula 재계산
sheet.calculate(1, 1);
| product | version | desc |
|---|---|---|
| core | 8.0.0.0 | 기능 추가 |