When using a hierarchical object I get an unwanted effect.
The parent object (Document) has for example three childs (DocumentLines). When expanding every line get an own FieldLayout.
The FieldLayoutInitialized event is triggered multiple times.
When using the FieldlayoutIndex 0 and 1 only the parents and one Child are displayed.
Also in the field chooser multiple Fieldlayouts are displayed.
What could cause this behaviour?
Perfect, thanks for your help Rob.
Ill have to create an auto expand function but thats it for now.
dataGrid.FieldSettings.ExpandableFieldRecordHeaderDisplayMode = ExpandableFieldRecordHeaderDisplayMode.NeverDisplayHeader;