트리그리드 » Api

getnextsiblingrow

Description

트리그리드의 특정 Row의 동일한 레벨의 다음 아이템의 Row값을 반환하는 API이다.

Parameters

Parameters Type Description
nRow long 행 인덱스

Return Value

Type Description
short 아이템의 동일Depth의 다음 행Index

Example

function btnItems_on_mouseup(objInst) { var nSelectRow = gg.getselectrow(); if(nSelectRow < 0) { return; } if(gg.ishaschildren(nSelectRow) == true) { var nSiblingRow = nSelectRow + 1; while(-1 < nSiblingRow) { factory.consoleprint(" - " + gg.getitemtext(nSiblingRow, 0)); nSiblingRow = gg.getnextsiblingrow(nSiblingRow); } } }

See Also

getparentrow

Viewer Ver.

9.1.1.1

Update Date

20061108