트리 형태일 때 클릭시 트리가 펼쳐지기 전 또는 접히기 전에 이벤트가 발생합니다.
function 오브젝트ID_OnBeforeExpand(Row, Expand) { }
Parameter | Type | Description |
---|---|---|
Row | Long |
해당 셀의 Row Index |
Expand | Number |
0 : 펼치는 경우 2 : 접는경우 |
function mySheet_OnBeforeExpand(Row, Expand) {
if(Row == 1 && Expand == 2) {
mySheet.SetAllowExpand(0);
alert("1 행에서는 펼칠 수 있지만 접을 수 없습니다.");
}
}
version | desc |
---|---|
7.0.0.0 |