How to dynamically add rows with controls to a table?

I have got a table with 6 rows. In which every row has got a text field in it. On click of a button i.e. “Add Row to table”, i want the system to add another row to the table and add a textfield in that row.

Any help, sample code or tutorial will be highly appreciated.

Regards,

Jawad Rana

Subject: How to dynamically add rows with controls to a table ?

The native classes won’t let you do it. You have three choices: simulate adding the new rows by pre-creating and hiding them, or by exporting the form to DXL, creating the new DXL and re-importing, or by using a third party product such as our Midas Rich Text LSX, which can do this automatically as part of its AppendRow method.

OK, granted you could also do with the C API, but that would really be asking for a lot of pain.

Subject: Or just use MultiValue fields w/ NewLine as separator