如何在服务器端分页的情况下,在bootstrap-table的列脚显示总计

2025-05-08 14:17:36
推荐回答(1个)
回答1:

前端代码块 function initTable(){ $('#test-table').bootstrapTable({ method: 'get', toolbar: '#toolbar', //工具按钮用哪个容器 striped: true, //是否显示行间隔色 cache: false, //是否使用缓存,默认为true,所以一般情况下需要设置一下