트리메뉴의 특정아이템의 펼침여부를 반환하는 API이다.
Parameters | Type | Description |
---|---|---|
nIndex | short | 아이템 인덱스 |
Type | Description |
---|---|
BOOL | 펼침 여부 |
function expanddepth_on_mouseup(objInst)
{
if (treemenu01.isexpanded() == true) {
treemenu01.expanddepth(1, 1); // 접기
else {
treemenu01.expanddepth(1, 2); // 펼치기
}
}