트리 » Api

getnextsiblingitemex

Description

지정한 키값의 아이템과 같은 레벨의 다음 아이템을 가져오는 API이다.

Parameters

Parameters Type Description
strKey STRING 트리 아이템 키값

Return Value

Type Description
long 같은 레벨의 다음 아이템

Remark

* Default로 지정된 picklist에는 아이템 키값이 없으므로 setitemkey, insertitemex API 등을 이용하여 키값이 있는 상태에서 구현 가능하다.

Example

function btn_getnextsiblingitemex_on_mouseup() { trTest.insertitemex("addtree", "treekey", 0, 1, "", ""); trTest.insertitemex("addtree2", "tree2key", 0, 1, "", ""); screen.alert(trTest.getitemtext(trTest.getnextsiblingitemex("treekey"))); }

See Also

getnextsiblingitem

Viewer Ver.

9.1.1.1

Update Date

20110411