bootstrap-table获得页面加载数据

bootstrap-table获得页面加载数据

//定义一个全局的变量接收
var dataresult = null;
$("#BusiPresiteManchkTable").on('load-success.bs.table',function(e,data){
console.log("load success");
console.log("dada",data);
dataresult = data;
});

 如果是BootstrapTreeTable用上面的方法是没有用的.

posted @ 2018-10-22 11:58  泡沫幻影  阅读(650)  评论(0编辑  收藏  举报