react-bootstrap-table2/packages/react-bootstrap-table2-overlay
AllenFang 60eb47dc9e Publish
- react-bootstrap-table2-overlay@2.0.0
 - react-bootstrap-table2-toolkit@2.0.0
 - react-bootstrap-table-next@3.1.3
2019-05-19 21:19:50 +08:00
..
test fix overlay test bugs 2018-06-03 22:52:15 +08:00
index.js fix #940 2019-05-19 16:21:14 +08:00
package.json Publish 2019-05-19 21:19:50 +08:00
README.md add README.md 2018-01-20 14:44:59 +08:00
yarn.lock fix #940 2019-05-19 16:21:14 +08:00

react-bootstrap-table2-overlay

In react-bootstrap-table2, you will be easier to custom the loading or lverlay on table no matter if remote enabled or not. In the following, we have two way to do it:


Empty Table

noDataIndication is a simple case you can take it, if current data size is empty, react-bootstrap-table2 will call the noDataIndication prop and get the result to display on the table.

Here is a quick exmaple for noDataIndication.

Loading Table

In the most of case for remote mode, you need the loading animation to tell the user the table is loading or doing some action in the background. Hence, you can lervarge overlay prop.

Here is also a example for overlay