트리 » Api

getdropemptycontextmenuinfo

Description

트리 오브젝트 빈영역 드랍 컨텍스트 메뉴 정보 오브젝트를 반환하는 API이다.

Return Value

Type Description
class 오브젝트 드랍 컨텍스트 메뉴 정보 오브젝트

Example

function btn_setcontextmenuinfo_on_mouseup(objInst) { var objContextMenuInfo, i, count; objContextMenuInfo = tre.getdropemptycontextmenuinfo(); for (i = 0; i < objContextMenuInfo.menu_arr.length; i++) { factory.consoleprint("menu_id = " + objContextMenuInfo.menu_arr[i].id); if (objContextMenuInfo.menu_arr[i].id == "move-below-empty") { objContextMenuInfo.menu_arr[i].is_hidden = true; } } // 변경된 메뉴 설정 tre.setdropemptycontextmenuinfo(objContextMenuInfo); }

See Also

setdropcontextmenuinfo

Viewer Ver.

9.1.1.1

Update Date

20191107