function onload(e) {
var tree = e.sender;
var ops = mini.get("operationids").getValue();
var strs = ops.split(",");
var nodes = tree.findNodes(function(node){
var ids= node.id.toString();
var n =$.inArray(ids, strs);
if(n > -1){
tree.selectNode(node);
alert(node.name);
}
});
var tree = mini.get("treegrid1");
var nodes = tree.getAllChildNodes(tree.getRootNode());
tree.uncheckNodes(nodes);
http://www.miniui.com/demo/#src=tree/checkboxtree.html
参考这个示例demo