bootstrapTable pagination

bootstrap table pagination top and bottom

最近一位要要離職的同事問我,如何讓 bootstrap table 分頁 顯示在資料表的上面

我google關鍵字 " bootstrap table pagination top and bottom " 找到了一篇文章

Pagination on the top and bottom?


有提到一個設定 data-pagination-V-Align="both" 可以設定

其實 bootrap table API 也有寫,所以說我還沒有用的那麼透徹XD

可以設定   'top', 'bottom', 'both'  預設是  bottom


總結:

有需要設定分頁的位置可以設定看看唷。但是分頁放在最上面和快速搜尋放在一起顯示的話。我覺得有點醜,還沒有去查解決方法~