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
100
XamTreeGrid PersistenceManager.Load Crashes
posted

Dear Forum,

I am a relatively new developer of Infragistics.

Currently I am trying to save the order and the Width of the Fieldlayout - Fields in a XamTreeGrid.

When I save the PersistenceManager.Save it creates a XML File 

Only Loading causes a Crash.

Here the Code

[Code]

<Custom:XamTreeGrid x:Name="myTreeGrid" BindToSampleData="True" IsSynchronizedWithCurrentItem="False" Margin="0,0,6,3" Theme="IGTheme">
<Custom:XamTreeGrid.FieldLayoutSettings>
<Custom:FieldLayoutSettings AutoArrangeCells="Never" AutoGenerateFields="False"/>
</Custom:XamTreeGrid.FieldLayoutSettings>
<Custom:XamTreeGrid.FieldSettings>
<Custom:FieldSettings CellHeight="80" FilterClearButtonVisibility="Visible" FilterEvaluationTrigger="Default"/>
</Custom:XamTreeGrid.FieldSettings>
<Custom:XamTreeGrid.FieldLayouts>
<Custom:FieldLayout>
<Custom:Field Name="email" Row="0" Column="0" Width="60"/>
<Custom:Field Name="name" Row="0" Column="1" Width="70"/>
<Custom:Field Name="salary" Row="0" Column="2" Width="80"/>
<Custom:Field Name="department" Row="0" Column="3" Width="90"/>


</Custom:FieldLayout>
</Custom:XamTreeGrid.FieldLayouts>
</Custom:XamTreeGrid>

[/Code]

[url=http://postimg.org/image/d51dyoi5d/][img]s24.postimg.org/.../url]

What am I doing Wrong?

Download sample project here

Parents
No Data
Reply Children