Hi,
I'm trying to set the DefaultFieldLayout on my XamTreeGrid but with no success. How shall I do that in the following example?
<igDP:XamTreeGrid x:Name="xtgBlotter" DataSource="{Binding BlotterItems}" Background="Transparent" Foreground="White" SelectedDataItemsScope="RecordsOrCells" DefaultFieldLayout="??????????????????" > <igDP:XamTreeGrid.FieldLayouts> <igDP:FieldLayout Key="DefOrd" x:Name="DefOrdName"> ... </igDP:FieldLayout> </igDP:XamTreeGrid.FieldLayouts></igDP:XamTreeGrid>
using either Key or x:Name doesn't work.
Hello Dariusz,
Thank you for your post!
I have been looking into it. What I can suggest is using the IsDefault property of the FieldLayout, for which you want to be the default one. For example:
<igDP:FieldLayout IsDefault="True".... />.
Please do not hesitate to let me know if you have any further questions on this matter.