Hi,
When I expand the parent then there are two ways in which I can display the child.
1. In the child record all cells appear to the right of their parent record's cell.
2. On reducing the Left Margin the child record is exactly placed below the parent.
However I have a slightly different requirement. I need that the first column should be right shifted while rest cells should be placed below their parent cells.
Hello Neelesh,
Thank you for your post.
I have been looking into your requirement, but it seems like I am missing something from your scenario, so would you please send me screenshot in order to illustrate the behavior you trying to achieve. This way I would be able to further investigate this for you and provide you with more detailed information on this matter.
Looking forward to hearing from you.
Hi Zhivko,
PFA the screenshot of a grid. As you can see in the image every child row's first cell shrinks in size with some space towards it's left and rest all cell are properly aligned with the parent cells.
Hello,
I am just checking if you require any further assistance on the matter.
Sincerely,
Zhivko
Developer Support Engineer
Infragistics
www.infragistics.com/support
I have been looking into your requirement and our XamDataGird is not designed to behave this way by default. I can suggest you look into the Alex’s suggestion on how to achieve a similar behavior(XamTreeView.zip):
http://ko.infragistics.com/community/forums/p/16974/213729.aspx#213729
Also in your scenario I can suggest you to try to use our XamTreeGrid control. You can read more details about it from the following link from our online documentation:
http://help.infragistics.com/Help/Doc/WPF/2015.1/CLR4.0/html/xamTreeGrid.html
or you can see more sample of using of XamTreeGrid in our WPF Samples Browser.
Please let me know if you require any further assistance on the matter.