트리뷰의 루트메뉴 배치 방향을 지정하는 API이다.
| Parameters | Type | Description |
|---|---|---|
| nRootItemDir | short | 배치 방향 |
| Type | Description |
|---|---|
| BOOL | 정상 처리 여부 |
*배치 방향 속성값 상수 0 : 수평 배치 1 : 수직 배치
function rootitemdir_on_mouseup(objInst)
{
alert(treeview.getrootitemdir());
treeview.setrootitemdir(0); // 수평배치
}