How do I show the number of rows in a table using react bootstrap table.
Additionally, I am using the search parameter to filter the table, so would like the number of rows to update as the table data is filtered.
How do I show the number of rows in a table using react bootstrap table.
Additionally, I am using the search parameter to filter the table, so would like the number of rows to update as the table data is filtered.
Just take the length of the data variable that you are giving to the data attribute of the BootstrapTable tag
<BootstrapTable data = {this.props.data}>
this.props.data.length()
this will give you the size of rows