bootstraptable的加载刷新数据

来源:互联网 发布:java开发外包 编辑:程序博客网 时间:2024/06/10 12:02

基于表格的多条件查询,向后台发送username,education,cid,createtime等数据,可为空。经过查询后返回JSON,使用

$("#userContractTable").bootstrapTable('load', json);

命令刷新表格,将新查询的数据显示出来

$.ajax({             type: "post",             url: "getUserContractList",             data: {username : username,    education:education,    cid:cid,    createTime : createTime},             dataType:"json",     success : function(json) {$("#userContractTable").bootstrapTable('load', json);} }); }



原创粉丝点击