有一个需求。需要在页面里拿到search的搜索值 $('#datagrid').on('search.bs.table', function (e,text) { console.log(text);//就是值 }); 相关文章: