Search code examples
javascriptreactjsreact-bootstrap-table

react-bootstrap-table set table columns total in state


I have implemented following example of react-bootstrap-table: https://stackblitz.com/edit/react-kr8ef2

I want to store the total in react state. How to set state?


Solution

  • Try this example closer to the React way https://stackblitz.com/edit/react-e53dgq?file=index.js