jqgrid tree 예제,,,
쿼리 계층구조 쿼리 select * from (SELECT ID , NAME , LV , DECODE( LV , 0 ,'',PARENT_ID) PT , decode( (select count(1) from Table where PARENT_ID =A.CLASS_ID) , 0 , 'true' , 'false') LF , 'false' EX FROM Table A ) START with LV =0 connect by PRIOR ID = PT js /----------------------- jQuery(document).ready(function() { // 리스트 jQuery("#tableList1").jqGrid({ datatype: "json", height: 390, width: 'auto', col..
2012. 9. 3.
jqgrid 리스트 만들기
jQuery(document).ready(function() { // 리스트 jQuery("#tableList1").jqGrid({ datatype: "local", height: 300, colNames:['대분류ID','대분류'], colModel:[ {name:'TB_ID',hidden:true,index:'TB_ID', width: 60, sorttype:"string", editable: false, align:"center"}, {name:'TB_NAME',index:'TB_NAME', width: 60, sorttype:"string", editable: false, align:"center"} ], onSelectRow: function(id) { if(id && id!==lastsel1)..
2012. 9. 3.