Topic: Editable Nested Datagrids
I am wondering if anyone has done any work trying to create an editable nested datagrid where
at the top level are parent records. If there are any child records, then there would be a +
sign to the left of the parent record, then for each child record, if there are any child records for that child record, there would be + signs next to those. All records should be able to be edited in line.
I have seen an ASP solution for this, but not a Rails solution. The ASP solution I saw was one that used paging for multiple pages.
Could this same paradigm be developed, but instead of paging, use a real grid? Is an
AJAX solution possible here?
- parent rec. 1
- child rec. 1
grandchild rec. 1
grandchild rec. 2
+ child rec. 2
+ parent rec. 2
1 2 3 <- paging mechanism underneath view
- - -
- parent rec. 1 ^
- child rec. 1 |
grandchild rec. 1 | <- scrollbar inside a grid
grandchild rec. 2 |
+ child rec. 2 |
+ parent rec. 2 v