bootstrap table 点击ztree树进行静态搜索的方法
时间:
2018-07-18 10:10:17
阅读:
275
评论:
收藏:
0
[点我收藏+]
在ztree的
1、onclick 方法 :
定义choosefid,(点击节点的唯一id)
然后
var diyQueryParam = {
url: ‘${basePath}/manage/xxxxx‘,
query: {
scolumn:‘‘,
search:choosefid,
}
}
2、调用bootstrap的refresh方法
$(‘#table‘).bootstrapTable(‘refresh‘,diyQueryParam);bootstrap table 点击ztree树进行静态搜索的方法
原文:http://blog.51cto.com/13588844/2146138