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
230
Define FieldLayout with Style
posted

Hi,

I have a grid that displays 4 collection - each one of different object type.

I'd like to use a style selector to load FieldLayout regarding the datatype of the items of the DataSource.

It doesn't seem possible to set it directly in Style :

 

 

 

 

 

 

 

 

 

<

 

 

Setter Property="FieldLayouts">

 

 

 

 

<Setter.Value>

 

 

 

 

<igDP:FieldLayout>

 

 

 

 

<igDP:FieldLayout.Fields>

 

 

 

 

<igDP:Field Name="EuroReportingMonth" Label="Test Label" Column="0" ColumnSpan="1" Row="0" RowSpan="1" Visibility="Visible"/>

 

 

 

 

</igDP:FieldLayout.Fields>

 

 

 

 

</igDP:FieldLayout>

 

 

 

 

</Setter.Value>

 

 

 

 

</Setter>

What do you think about this ?

Parents Reply Children