easyui的简单使用
方法/步骤
1、<selectid="admin_base_systemmanage_finDiv_edit_sysResourceIds"name="parentAreaCode"style="min-width:200px;width:200px;"class="select_150_20"> </select>
2、functionedit_initValue(){$('#admin_base_systemmanage_finDiv_edit_sysResourceIds').combotree({editable:false,//是否可以编辑panelWidth:300,//宽度panelHeight:200,//高度
3、parentField:'pid',//父类idmultiple:false,//是否为多选cascadeCheck:false,myCascade:true,url:'${ctx}/ajax/finDiv/tree',onLoadSuccess:function(node,data){
4、$('#admin_base_systemmanage_finDiv_edit_sysResourceIds').combotree('setValue','${finDiv.parentAreaCode}');//setValue设置默认选中的值。}});}vart=$('#aa').combotree('tree');varn=t.tree('getSelected'); //获取树节点的值alert(n.text);
5、<divclass="easyui-accordion&qu艺皱麾酪ot;style="width:300禊诬娱飑px;height:200px;"><divtitle="手风琴"iconCls="icon-ok"style="overflow:auto;padding:10px;"><h3style="color:#0099FF;">手风琴</h3><p>吧啦吧啦吧啦吧啦吧啦吧啦吧啦吧啦</p></div>
6、<divtitle="手风琴样式"iconCls="icon-reload"selected="true"style="padding:0px;">手风琴演示内容</div></div></div>
7、<divclass="easyui-tabs"s隋茚粟胫tyle="width:400px;height:吭稿荔徊100px;"><divtitle="Tab选项"style="padding:10px;">选项一</div><divtitle="选项Tab"closable="true"style="padding:10px;">选项二</div><divtitle="选项Tab"iconCls="icon-reload"closable="true"style="padding:10px;">选项三</div></div>