1. 程式人生 > >bootstrap table 點擊ztree樹進行靜態搜索的方法

bootstrap table 點擊ztree樹進行靜態搜索的方法

ztree 唯一id str click oos boot efi tst column

在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樹進行靜態搜索的方法