Description

지정된 rowId의 데이터행을 체크하거나 해제한다.

Syntax

function checkRow(rowId, checked, exclusive, checkEvent)

Parameters

rowId
Type: Number
데이터행의 Index

checked
Type: Boolean
Default: true
true를 입력하면 지정된 rowId에 연결된 데이터행을 체크한다.

exclusive
Type: Boolean
Default: false
true로 입력하면 체크된 다른아이템이 있는 경우 모두 해제하고 rowId에 연결된 데이터행만 체크한다.

checkEvent
Type: Boolean
Default: true
onItemChecked()의 발생 여부를 지정한다.
ver 1.1.20부터 지원된다.

Return value

None.

Examples

gridView.checkRow(0,true,false);