「jQuery入門」jsTreeプラグインを使うサンプル
使用例
1.JSコード
$('#jstreeCft').jstree({
plugins : [ "wholerow","checkbox" ],
checkbox :{
three_state : true,
keep_selected_style :false
},
core : {
multiple : true,
animation : 0
}
}).on('changed.jstree',function(e,data){
// some code
});
$('#jstreeCft').jstree({
plugins : [ "wholerow","checkbox" ],
checkbox :{
three_state : true,
keep_selected_style :false
},
core : {
multiple : true,
animation : 0
}
}).on('changed.jstree',function(e,data){
// some code
});
$('#jstreeCft').jstree({ plugins : [ "wholerow","checkbox" ], checkbox :{ three_state : true, keep_selected_style :false }, core : { multiple : true, animation : 0 } }).on('changed.jstree',function(e,data){ // some code });
2.htmlコード
<div id="jstreeCft"></div>