DEV Community

Discussion on: An easy way to create a customize dynamic table in react js

Collapse
 
harishchandrajr profile image
Harishchandra • Edited

After looking at your code it looks easy to me now 😀, I am trying to create table too, but I don't have table data, what I have is row no and column no and based on them I am tring to generate empty table for input, the problem which I am facing is creating header, do you have any suggestions for that ??, I really need some help

Collapse
 
abdulbasit313 profile image
Abdul Basit

You mean let's say you want to generate 3×4 table?
I am not really sure but you can store rows and columns numbers into variable and based on that generate the table.

Collapse
 
harishchandrajr profile image
Harishchandra • Edited

Yes, I am able to generate rows, but facing issue with creation of headers and then storing tables value in to variable in form of list of dictionary,
Below is the part which is I am trying to build.
codesandbox.io/s/issue-with-header...