React Table dynamic columns and rows : So here is my question. How can I display the header names and its respective rows dynamically? I am using a simple react table right now.

I have hardcoded the names as you can see in the table (2017-8, 2017-9, .....) from the image. 

[enter image description here][1]


  [1]: https://i.stack.imgur.com/ixSBj.png