Hi!
I want to fill XamDataGrid with hierarchical data so as the columns' coordinates (left point-right point) of both parent record and child records be equal.
For example,my data type is
class MyData{public string Name;public string Info;public List<MyData> ChildData;}
The result I want on my screen is
Name--------------------Info---ParentName1 ParentInfo1+ Name-----------------Info--- ChildName ChildInfo + Name--------------Info SubChildName SubChildInfoParentName2 ParentInfo2
All the Info-values must go straight one below other, without offset to the left or to the right. If I will resize the column Info I want that all the Info-columns resize synchroniously.
How can I do like that?
Hello,
I am just checking if you require any further assistance on the matter.
I have modified Stefan’s sample(HierarchicalHeaderAlignment2.zip) in order to make the XamDataGrid look like this in your first post.
If you have any other questions, feel free to ask.
The problem is not closed.
I need right like it's described in thread
http://forums.infragistics.com/forums/p/16974/225274.aspx
The solution that is suggested in the topic is full of bugs that are not yet solved.
Has there been a solution found?
Hello Kirill,
Thank you for your feedback. I am glad that you resolved your issue and I believe that other community members may benefit from this as well.
Thanks again.
Stefan, thank you for the sample. That doesn't work as I need. The child columns are offsetted.
However, I found this thread and WPF_xamDataGrid_Hierarchy2.zip project helped.