이 문서는 읽기 전용입니다. 원본을 볼 수는 있지만 바꿀 수는 없습니다. 문제가 있다고 생각하면 관리자에게 문의하세요. ======트리그리드 트리열 체크박스 가이드 ====== 트리그리드 트리열 아이템 체크박스 관련 속성에 대한 예시 화면이다. 트리열 체크박스 기능은 그리드 체크로우 기능과 동일한 방식으로 동작한다. 트리열 체크박스 관련 디자인 속성은 그리드 체크로우 속성을 사용한다. 체크박스 크기 관련 속성으로 checkrow_check_width, checkrow_check_height가 있다. 활성 상태 체크박스 이미지 관련 속성으로 checkrow_check_image, checkrow_uncheck_image, checkrow_partcheck_image가 있다. 비활성 상태 체크박스 이미지 관련 속성으로 checkrow_dis_check_image, checkrow_dis_uncheck_image, checkrow_dis_partcheck_image 있다. ===== 예시 ===== 템플릿 위치: /HTML5/COMPONENT/TREEGRID/treegrid_treecheckbox 템플릿 파일 * [[xf5projecthome>template/screen/HTML5/COMPONENT/TREEGRID/treegrid_treecheckbox.xml|treegrid_treecheckbox.xml]] * [[xf5projecthome>template/screen/HTML5/COMPONENT/TREEGRID/treegrid_treecheckbox.js|treegrid_treecheckbox.js]] * [[xf5projecthome>template/template.html?xframe_screen_url=/HTML5/COMPONENT/TREEGRID/treegrid_treecheckbox|새창으로 실행]] <php> echo '<html>'; echo '<iframe src="'; echo $conf['plugin']['xf5']['xf5projecthome'], 'template/template.html?'; echo 'xframe_screen_url=/HTML5/COMPONENT/TREEGRID/treegrid_treecheckbox"'; echo ' class="_xf5_iframe"'; echo ' style="'; echo $conf['plugin']['xf5']['xf5iframestyle']; echo '">'; echo '</iframe>'; echo '</html>'; </php> ==== 화면 스크립트 ==== <sxh javascript> // 화면 로드 이벤트 function screen_on_load() { // 그리드 특정행 체크 상태 설정 this.grd_checkbox1.setcheckedrow(2, true); this.grd_checkbox2.setcheckedrow(2, true); } </sxh> guide/component/treegrid/treegrid_treecheckbox.txt 마지막으로 수정됨: 2024/02/21 13:56저자 127.0.0.1