Hi,
I have nested parent child data (ex: Organization data base showing Supervisor - supervisee relationship) and want to show that in grid in hierarchy fasion meeting the following requirements:
1. Want to show header information only once (EmpId, EmpName, Dept, Designation, No Of Supervisee)2. Should have an option to enable/disable expand/collapse child nodes3. On Expanding a node, nesting/indentation should happen only on first column. All columns should be aligned property with no spanning. Basically it should like a flat table or grid.4. Should be able to add computed columns using Formula Editor & calculation manager. Ex: Adding a column named Bonus with formula (0.20 * No of Supervisees)5. Should be performanct as we would be working with huge data set.
Please let me know best grid (XamDataGrid, XamGrid or XamDataTree) suitable for this and provide me a sample to achieve this.
Thanks,Mahadev Prasad
You should use the xamTreeGrid control for this: http://help.infragistics.com/doc/WPF/2015.2/CLR4.0/?page=xamTreeGrid.html
Hello Mahadev,
Did the attached application worked for you? I'll be happy to hear if you managed to make that work. If there is something more I could do, I'll be happy to assist you.
Thanks,
Martin Stoev
What you can use for your purpose is the XamGrid control. You should be able to implement all 5 requirements you specified.
I’ve taken to liberty to create a sample application, which you can use as a starting base. If you need further assistance in implementing all the requirement, please don’t hesitate to ask.
Hope the application will help you,
I did not hear back on this query. It would be great if I can get any updates at the earliest.
Thanks.