트리그리드 » Api

getxdatasetrow

Description

그리드에 Link되어 있는 xDataSet의 Row Index를 반환합니다.

Parameters

Parameters Type Description
nRow long 그리드 행 인덱스

Return Value

Type Description
long 링크된 데이터셋의 행 인덱스

Remark

그리드에 소계가 없는 경우는 xDataSet의 Row와 그리드 Row가 1:1로 맵핑 되지만 소계가 있는 경우 그리드 Row 와 xDataSet의 Row가 다를 수 있으므로 해당 API를 통해 그리드이 Row와 맵핑되는 xDataSet Row Index를 구 할 수 있습니다.

Example

function btnxDataSetRow_on_mouseup(objInst) { var nxDataSetRow = grid.getxdatasetrow(20); screen.alert("그리드 20번 Row와 맵핑된 xDataSet Row는 " + nxDataSetRow + "입니다"); }

Viewer Ver.

9.1.1.1

Update Date

20220316