hi!!
i have allow class. and i had bind departments of company on xamdatagrid and treeview.
public class company
{
public string name;
public List<Department> departements;
}
public class department
public List<Department> childs;
so. i got a output allow in xamdatagrid.
name
testname
+ departments
testname2
but i want to allow (non hierarchial structure)
If you want a flat structure, you have to use UnboundFields for the fields that are subproperties of an object and set their BindingPath property to something like:
BindingPath="Department.Name" and BindingPath="Department.testname2"