Syntax and semantics of creating rows and cells dynamically in a table #1439
-
Hello guys! I am new to this library and I think this is a huge help in my current task now. I have seen the usage document and it is very handy but unfortunately I noticed that there were no example on how construct tables dynamically. I searched the web that is related to my problem I had no luck finding it. The scenario that I'm facing is integrating docx to our system which uses angular. I can generate a .docx file already with the table and its table headers. The challenging part is how can I append the data after constructing the table and its headers dynamically. Can I ask for the syntax and semantics in dealing with tables dynamically? Hoping to hear from you soon. Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Not sure if you got the answer but just posting here for future references.
Explaination: Try the code in the below link in JS section ofcourse: @dolanmiu are there any demos for creating table rows dynamically- that seems to be something everybody is looking for. And also are there any better ways of doing what i have done here in the latest versions. |
Beta Was this translation helpful? Give feedback.
Not sure if you got the answer but just posting here for future references.