Building Table in DOCX with Dynamic Columns

I have a task to create a Dynamic DOCX document with table in it. I have created one with number of rows increasing, but my requirement need me to make a table with dynamic column as well. Has anybody worked on such thing before. If yes please let me know how?

  Discussion posts and replies are publicly visible