This question is locked. New answers and comments are not allowed.
I have an XML file like the following
<xml>
<Department>
<Description>Department1</Description>
<SubDepartment>
<Description>SubGroup1</Description>
<Personal>
<Description>name1</Description>
<Salary>10000</Salary>
</Persona>
... More personal
</SubDepartment>
.... more subdepartment
</Department>
.... more Department
</xml>
I would like to create a hierarchical datagrid with the information provided above. I would like to have the grid something like the following
Description Salary
1. When All fields collapsed, I want the row to have department description and total salary of all the personal in all sub department in department.
2. When Department expanded, it should show all subdeaprtment description and its associated total and total will go away from department.
3. When personal expanded only personal will show description and salary.
is it possible in the DataGrid you have provided.
<xml>
<Department>
<Description>Department1</Description>
<SubDepartment>
<Description>SubGroup1</Description>
<Personal>
<Description>name1</Description>
<Salary>10000</Salary>
</Persona>
... More personal
</SubDepartment>
.... more subdepartment
</Department>
.... more Department
</xml>
I would like to create a hierarchical datagrid with the information provided above. I would like to have the grid something like the following
Description Salary
1. When All fields collapsed, I want the row to have department description and total salary of all the personal in all sub department in department.
2. When Department expanded, it should show all subdeaprtment description and its associated total and total will go away from department.
3. When personal expanded only personal will show description and salary.
is it possible in the DataGrid you have provided.