View Single Post
Old 11-03-2007, 05:30 PM   #1 (permalink)
hostfreak
The Wanderer
 
hostfreak's Avatar
 
Join Date: Oct 2007
Posts: 21
Thanks: 1
hostfreak is on a distinguished road
Default Multiple rows - dynamic

I've been trying to figure this out for awhile to no avail. What I want to do is have a main row of inputs and a sub row of inputs that can be dynamically generated. I want to be able to make each sub row append to it's main row. So for example:
Code:
Main Row:
|Input|Input|Input| + (Add new main row) - (Delete)
    -Sub Row:
    Input|Input|Input| + (add new sub) - (Delete)
    Input|Input|Input| + (add new sub) - (Delete)

Main Row:
|Input|Input|Input| + (Add new main row) - (Delete)
    -Sub Row:
    Input|Input|Input| + (add new sub) - (Delete)
If I were to add a new sub row, it would add a row under it's main row. Then if a new main row was added, it would add one below the others.

I've figured out how to dynamically create rows, but not have them append to their main row (considering I would also be dynamically adding the main row). Any help is appreciated. Thanks.
hostfreak is offline  
Reply With Quote