Dynamic tabular input in yii

This is my first project with yi. This is a part of the db model:

     table       columns 

     iteration   [id,name,description]

     activity    [id,iteration_id,name,description,duration]

So for planning the activities in an iteration my idea is to print a table with the columns


with 1 row by default (required) and a button for adding new rows to the table.

I’ve found THIS tuto for collecting the tabular input. Now I just need to implement the dynamic part. How can I do it? Does yii have something for helping with this task?


having the same trouble. hope some one will help.

jrelcopy, or my patched version in the extensions forum.