Angular creating elements on runtime while keeping styling

I have a table which the user is supposed to dynamically make changes in, this includes adding new rows and columns. I have tried doing this using document.createElement, however when you do this the styling doesn’t carry over.

Is there a way other than document.createElement you use in angular?

Any help is appreciated.

Add Comment
0 Answer(s)

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.