bootstrap-table页码ALL显示为NAN

在github上查阅找到的解决办法:git

https://github.com/wenzhixin/bootstrap-table/issues/435github

页面部分:bootstrap

data-page-list="[10, 25, 50, 100, ALL]"

在引用的全球化语言文件里 bootstrap-table-zh-CN.js 加以下方法便可:spa

 formatAllRows: function () {
            return 'ALL'; // or return your translated word "所有"
        }
相关文章
相关标签/搜索