accordion 展开指定面板,用索引index展开指定面板后,又自动收缩。
最终用title方式解决,使用如下方法:
$('#userWorkStatus').accordion('select', 此处指定标题);
<div id="userWorkStatus" class="easyui-accordion" style="width:auto;height:510px;">
<div title="空闲中(0)" data-options="iconCls:'icon-user-free',selected:true" style="overflow:auto;padding:2px;">
<!-- 空闲人员 -->
<table id="freeUser" data-options="rownumbers:true,striped:true,singleSelect:true" style="width:253px;height:448px;" >
</table>
</div>
<div title="非空闲(0)" data-options="iconCls:'icon-user-busy'" style="padding:2px;">
<!-- 非空闲中 -->
<table id="sendingUser" data-options="rownumbers:true,striped:true,singleSelect:true" style="width:252px;height:448px;" >
</table>
</div>
</div>