Extjs chekboxtree PagingTreeLoader 多选、分页

测试使用版本:extjs3.4.0

 

效果图:


Extjs chekboxtree PagingTreeLoader 多选、分页


Extjs chekboxtree PagingTreeLoader 多选、分页

 

 

测试代码:

 

 

<script type="text/javascript">
    Ext.BLANK_IMAGE_URL = "../../lib/ext/resources/images/default/s.gif";
	Ext.QuickTips.init();
    Ext.onReady(function(){
    new Ext.Window({
    		title: "test",
			width : 800,
			height : 500,
			items : [
				{					
					xtype: "checkboxTree",
					autoScroll : true,
					rootText : 'test',
					name: "nodes",
					id: "nodes-tree",
					dataUrl: "lawRisk/getLawRiskTree.json"
				}
			],
			layout : 'fit',
			resizable : false,
			buttons : [{text:'getCheck',handler:function(){
				var nodes = Ext.getCmp('nodes-tree').tree.getChecked();
				alert(nodes.length);
			}}]
		}).show();
    });

 

你可能感兴趣的:(loader)