search

Home  >  Q&A  >  body text

javascript - Help! , how to define refresh callback function for bootstrap-table

Need to execute some code after the bootstrap-table asynchronous refresh, but no relevant information on the callback function of bootstrap-table refresh was found

我想大声告诉你我想大声告诉你2710 days ago1353

reply all(1)I'll reply

  • 迷茫

    迷茫2017-06-26 10:55:27

    // 监听 refresh 事件
    dom.on("refresh.bs.table", function() {
        // code here
    });
    // 主动触发 表单 refresh 事件
    dom.bootstrapTable("refresh", {
        url: baseUrl + "foo.php",
        query: dataobj
    });

    reply
    0
  • Cancelreply