Hi Im using ObjectListView, and having this classes:
public class Person
{
public string Name{get;set;}
public List<Things> {get;set;}
}
public class Things
{
public string Name{get;set;}
public string Description{get;set;}
}
How can I show something like this in the ObjectListView:
I believe a tree-view can help here. You could use the TreeListView component which is part of the ObjectListView. It is very similar in use. You have to provide the relevant delegates and the TLV will do the work.
I built a a quick example:
Of course, there is lots of room for customization and improvement.
Inn addition to the provided code, you obviously have to add the TLV to you form and add two columns.