我做了如下代码发现不可行
<div id="menuTreeId-toolbar" class="topjui-toolbar"左边的ID是roleTreeId,右边是menuTreeId,都是treegrid
data-options="grid:{
type:'treegrid',
id:'roleTreeId'
}">
<a href="javascript:void(0)" data-toggle="topjui-menubutton"
data-options="method:'doAjax',
btnCls:'topjui-btn-green',
iconCls:'fa fa-plus',
confirmMsg:'确定要执行该操作吗?',
url:'#',
parentGrid:{
type:'treegrid',
id:'roleTreeId',
uncheckedMsg:'请先选择要赋予的具体角色!'
},
grid: {
type:'treegrid',
id:'menuTreeId',
parentIdField:'pid',
uncheckedMsg:'请先勾选要删除的数据',
param:'userId:id,account:account'
}">赋予授权</a>
</div>
2.删除新增等操作,如何做到刷新treegrid或者grid呢