We are facing problem binding to template column from an observable collection with in XamGrid. In TemplaeColumn we have placed a TextBlock and binding text property using {Binding FMInstalled}. This template column is placed inside Column Layout to get drill down effect.
XamGrid is binded to an observerable collection of calss name FL. Again Class FL has observerable collection with class name SL (SL to null initially). FL data is displayed in xamGrid. On selecting any row (using arrow) we are making service call and updating the observable collection of SL for the selected FL. This is populatig Column Layout i.e. drill down correctly.
Now when I select same row again, we are making service and repopulating the inner observable collection. This time template column control are not getting bounded to the observable collection changes. Please find the design below and attachment is the screen shot of issue occuring.
<ig:GroupColumn Key="Firmware" HeaderText="Firmware" Width="0.25*">
<ig:GroupColumn.Columns>
<ig:TemplateColumn HeaderText="Installed"
Key="FWUpgradeFlag" Width="Auto"> <ig:TemplateColumn.ItemTemplate>
<DataTemplate>
<TextBlock Text="{Binding Path=FWInstalled}" />
</DataTemplate>
</ig:TemplateColumn.ItemTemplate> <ig:TemplateColumn.ConditionalFormatCollection>
<ig:IconConditionalFormatRule CellValueVisibility="Collapsed">
<ig:IconConditionalFormatRule.Rules>
<ig:ConditionalFormatIcon ValueType="Number" Value="9" Operator="GreaterThanOrEqualTo"/>
<ig:ConditionalFormatIcon ValueType="Number" Value="3" Operator="GreaterThanOrEqualTo">
<ig:ConditionalFormatIcon.Icon>
<StackPanel Orientation="Horizontal" Margin="4,0,0,0">
<Ellipse Stroke="#FF8C2318" Height="8" Width="8" StrokeThickness="10" />
</StackPanel>
</ig:ConditionalFormatIcon.Icon>
Hi,
Do you think you could post a sample demonstrating the problem?
That'd would help us get to the bottom of the issue a lot quicker.
Thanks,
-SteveZ