I am facing a challenge with dynamically generated tables. I have dynamically created table data cells with numbers and only one fixed table header, leading to an agile look of the table:
https://i.sstatic.net/ZweUw.png
How can I ensure there is only one table header for all table data?
https://i.sstatic.net/tgm6I.png
I attempted to use colspan
, but it seems like I can only add a fixed value.
Here is my code: https://jsfiddle.net/qunzorez/zsm47dt1/17/