Hello,
I have two FieldLayouts in my XamDataGrid. Second Layout is shown as Child Record.
My requirement is to show second record with some Margin after I expand Parent Record.
I tried using ExpandableFieldRecordPresenterStyle by adding following code:
In XamDataGrid.Resources:
<Style x:Key="fvpMargin" TargetType="{x:Type igDP:ExpandableFieldRecordPresenter}"><Setter Property="Margin" Value="20,20,20,20"/></Style>
In Field(Second field layout):
<igDP:Field.Settings><uc:RMFieldSettings ExpandableFieldRecordPresenterStyle="{StaticResource fvpMargin}" /></igDP:Field.Settings>
But can't get it to work.
Please help.
Thanks & Regards,
Priya
I am just checking your progress on the issue that you are having.
If you require any further assistance please do not hesitate to ask.
Sincerely,
Zhivko
Developer Support Engineer
Infragistics
www.infragistics.com/support
Hello Priya,
Thank you for your post.
I was researched your issue and It seems that you should add the UseNestedPanel property of the GridViewSettings class and set it to true.
You can read more details about GridViewSettings class from our online documentation from this link: http://help.infragistics.com/Help/Doc/WPF/2011.2/CLR4.0/html/InfragisticsWPF4.DataPresenter.v11.2~Infragistics.Windows.DataPresenter.GridViewSettings.html
I created a sample application based on your scenario, to shows you how you can implement this approach.
Please let me know if you need any further assistance on this matter.