Bootstrap-table : 消除分页中的总行数
Bootstrap-table : eliminate total rows in pagination
从服务器端获取总行数非常昂贵,因此我们希望避免分页的 totalRows 部分。
我知道如何修改 pagination example 中的 "Showing 1 to 10 of 800 rows"。怎么修改去掉"page 80",只有省略号“...”?
您只需添加此 CSS 片段即可完成,
//Hides the total count button
li.page-item.page-last{
display: none;
}
从服务器端获取总行数非常昂贵,因此我们希望避免分页的 totalRows 部分。
我知道如何修改 pagination example 中的 "Showing 1 to 10 of 800 rows"。怎么修改去掉"page 80",只有省略号“...”?
您只需添加此 CSS 片段即可完成,
//Hides the total count button
li.page-item.page-last{
display: none;
}