Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
520
Show child column headers and parent column header in one row
posted

Right now My XamDatagrid have like this, When I expand parent row , it is displaying all column headers of child row for each exapnd, I do have class like this

Emp:

string Name, string Age, string Phone,  ObservalbleCollection<PaidInfo> PaidInfoLIst;

PaidInfo

DateTime DateofPay, double amount;

Name Age  Phone 
- Mike  20 phone1
Date Amount
12/11/2013 300
12/11/2013 400
Ram 34 phone 2
- Date Amount
12/11/2013 450
12/11/2013 340

 I want to merge child headers with parent headers like this, I tried HeaderPlacement=OnTopOnly, but didn't work.

also, when I collpased row it should hide Date & Amount column.

Name Age  Phone  Date Amount
Mike  20 phone1
12/11/2013 300
12/11/2013 400
Ram 34 phone 2
12/11/2013 450
12/11/2013 340

 

Parents Reply Children
No Data