react-bootstrap-table2/packages/react-bootstrap-table2-paginator
2018-01-20 14:44:59 +08:00
..
src react-bootstrap-table2-example depend other packages via webpack resolver instead of node modules 2018-01-14 18:29:27 +08:00
style fix #135 2017-11-19 17:42:20 +08:00
test fix entry point changed 2018-01-18 22:53:51 +08:00
index.js react-bootstrap-table2-example depend other packages via webpack resolver instead of node modules 2018-01-14 18:29:27 +08:00
package.json tweak package.json 2018-01-20 13:34:27 +08:00
README.md add README.md 2018-01-20 14:44:59 +08:00

react-bootstrap-table2-pagination

react-bootstrap-table2 separate the pagination code base to react-bootstrap-table2-pagination, so there's a little bit different when you use pagination. In the following, we are going to show you how to enable and configure the a pagination table

Live Demo For Pagination


Install

$ npm install react-bootstrap-table2-pagination --save

How

Let's enable a pagination on your table:

import paginator from 'react-bootstrap-table2-paginator';
// omit...

<BootstrapTable keyField='id' data={ products } columns={ columns } pagination={ paginator() } />

Customization

See pagination props