I want a simple Datagrid, but I need to autogenerate the columns as they are different based on the situation..
I've tried
Lists of List,
Dictionaries of Lists,
Lists of Dictionaries...
Lists of custom objects
Dictionaries of custom objects...
etc...
but none of these seem to bind correctly as an ItemsSource.
]
Casey
I've tried
Lists of List,
Dictionaries of Lists,
Lists of Dictionaries...
Lists of custom objects
Dictionaries of custom objects...
etc...
but none of these seem to bind correctly as an ItemsSource.
]
Casey
public List<List<string>> data = new List<List<string>>(2);
public Dictionary<string, List<string>> dictDataList = new Dictionary<string, List<string>>();
public List<datatest> listdatatest = new List<datatest>();
public class datatest
{
public string a;
public string b;
}