트리 has_checkboxes 속성값을 설정하여 체크박스 표시 여부를 설정하는 API이다.
| Parameters | Type | Description |
|---|---|---|
| bHasCheckboxes | BOOL | has_checkboxes 속성값 (true/false) |
| Type | Description |
|---|---|
| BOOL | 성공 여부(true, false) |
function btn_on mouseup()
{
// 트리 체크박스 표시 토글 처리
tre1.sethascheckboxes(!tre1.prop("has_checkboxes"));
}