Hi! I'm trying to do the following:
I have a grid of groups, and each group can have a bunch of items. The items have two fields right now (url and name, ie two text fields) . I'd like to create a new group, and in the popup editor, being able to add items to it.
The group is something like:
public class Group
{
public long Id {get; set;}
public string Name {get; set;}
public List<Item> Items {get; set;}
}
And the items are like:
public class Item
{
public long Id {get; set;}
public string Name {get; set;}
public string Url{get; set;}
}
I tried to use a ListView but it didnt quite work (seems the API is way, way less developed than the grid's for example), what do you think its the best way to do this? Maybe another grid with inline editing?
Ideally what I'd want is for the nested Item editor to add items to the group being created, and once that group is submitted, then persist everything in the DB.