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
420
ExpandableFieldRecordExpansionMode has no effect
posted

I have a master/child hierarchical data bound to the grid and I want to auto-expand the master records. I have set ExpandableFieldRecordExpansionMode to ExpandAlways but it seems to have no effect, the master record is still closed on init and I have to click '+' icon to open it. Do I misunderstand what this property is used for?

Here is my XAML:

<

 

ig:XamDataGrid x:Name="_dataGrid"

 

DataSource="{Binding}"

 

AssigningFieldLayoutToItem="XamDataGrid_AssigningFieldLayoutToItem"

 

InitializeRecord="_dataGrid_InitializeRecord"

 

GroupByAreaLocation="None">

 

 

<ig:XamDataGrid.FieldLayoutSettings>

 

 

<ig:FieldLayoutSettings AutoGenerateFields="False" />

 

 

</ig:XamDataGrid.FieldLayoutSettings>

 

 

<ig:XamDataGrid.FieldSettings>

 

 

<ig:FieldSettings ExpandableFieldRecordExpansionMode="ExpandAlways" />

 

 

</ig:XamDataGrid.FieldSettings>

 

 

<ig:XamDataGrid.FieldLayouts>

 

 

<ig:FieldLayout x:Name="_listLayout">

 

 

<ig:Field Name="BidList" FixedLocation="FixedToNearEdge" Width="*" />

 

 

<ig:Field Name="Entries"/>

 

 

</ig:FieldLayout>

 

 

 

<ig:FieldLayout x:Name="_enrtryLayout">

 

 

<ig:Field Name="Name" FixedLocation="FixedToNearEdge" />

 

 

<ig:Field Name="LastPrice" />

 

 

</ig:FieldLayout>

 

 

</ig:XamDataGrid.FieldLayouts>

 

 

</ig:XamDataGrid>