Hello,
I have the following murkup of xamDataGrid
<igDP:XamDataGrid x:Name="xdgTestResults" DataSource="{Binding ResultGrid}" IsManipulationEnabled="False" > <igDP:XamDataGrid.FieldSettings> <igDP:FieldSettings AllowEdit="False" AllowResize="False" AllowGroupBy="False" LabelClickAction="SelectField"/> </igDP:XamDataGrid.FieldSettings> <igDP:XamDataGrid.FieldLayoutSettings> <igDP:FieldLayoutSettings AutoArrangeCells="Never" AllowDelete="False" LabelLocation="SeparateHeader" HighlightAlternateRecords="True" AutoGenerateFields="False" AllowFieldMoving="No" RecordSelectorLocation="None" /> </igDP:XamDataGrid.FieldLayoutSettings> <igDP:XamDataGrid.FieldLayouts> <igDP:FieldLayout> <igDP:UnboundField Name="Parameter" Label="Parameter" BindingPath="Items[0]" Column="0"/> <igDP:UnboundField Name="Unit" Label="Unit" BindingPath="Items[1]" Column="1"/> <igDP:UnboundField Name="Predicted" Label="Predicted" BindingPath="Items[2]" Column="2"/> </igDP:FieldLayout> </igDP:XamDataGrid.FieldLayouts></igDP:XamDataGrid>
DataSource for grid: public ObservableCollection<List<string>> ResultGrid. At the moment of displaying xamDataGrid ResultGrid.Count = 1, Inside list count = 23.
Instead of a table with one row, we see the following (seems XamDataGrid.Rows.Count = Inside list count):
If we have ResultGrid.Count > 1, then all well. Are there any thoughts on this?
Hello Andrey,
Thank you for your post. I have been looking into it and the code you have provided and I suggest you see this forum thread:
http://community.infragistics.com/forums/p/63235/323019.aspx
where a similar issue like yours is discussed.
Hope this helps you.
Thank you, your answer was helpful.
Thank you for your feedback. I am glad that you resolved your issue and I believe that other community members may benefit from this as well.
Thanks again.