이 문서는 읽기 전용입니다. 원본을 볼 수는 있지만 바꿀 수는 없습니다. 문제가 있다고 생각하면 관리자에게 문의하세요. ====== 트리그리드 통계 가이드 ====== 트리그리드 컴포넌트 statistics_row 속성에 대한 예시 화면이다. 트리그리드 컴포넌트의 통계는 statistics_row 속성과 folder_midstatistics 속성을 기준으로 통계 데이터 계산 데이터가 결정된다. folder_midstatistics 속성이 0:none인 경우에는, 모든 행을 기준으로 통계가 계산된다. folder_midstatistics 속성이 0:none이 아닌 경우에는, 자식 아이템이 없는 행의 데이터만을 기준으로 통계가 계산된다. 관련 속성으로 statistics_row, folder_midstatistics가 있다. ===== 예시 ===== 템플릿 위치: /HTML5/COMPONENT/TREEGRID/treegrid_statrow 템플릿 파일 * [[xf5projecthome>template/screen/HTML5/COMPONENT/TREEGRID/treegrid_statrow.xml|treegrid_statrow.xml]] * [[xf5projecthome>template/screen/HTML5/COMPONENT/TREEGRID/treegrid_statrow.js|treegrid_statrow.js]] * [[xf5projecthome>template/template.html?xframe_screen_url=/HTML5/COMPONENT/TREEGRID/treegrid_statrow|새창으로 실행]] <php> echo '<html>'; echo '<iframe src="'; echo $conf['plugin']['xf5']['xf5projecthome'], 'template/template.html?'; echo 'xframe_screen_url=/HTML5/COMPONENT/TREEGRID/treegrid_statrow"'; echo ' class="_xf5_iframe"'; echo ' style="'; echo $conf['plugin']['xf5']['xf5iframestyle']; echo '">'; echo '</iframe>'; echo '</html>'; </php> ==== 화면 스크립트 ==== <sxh javascript> // "setfoldermidstat" 버튼 이벤트 function btn_setfoldermidstat_on_click(objInst) { // 소계 유형 변경 grd_midstat.setfoldermidstat(cbo_midstattype.getselectedcode()); } </sxh> guide/component/treegrid/treegrid_statrow.txt 마지막으로 수정됨: 2023/09/04 17:34저자 127.0.0.1