Hi guys,
I have a xamGrid, which contains a template column as follows:
<igGrid:TemplateColumn Key="Margin"> <igGrid:TemplateColumn.ItemTemplate> <DataTemplate> <igEditors:XamNumericEditor Value="{Binding Margin}" /> </DataTemplate> </igGrid:TemplateColumn.ItemTemplate> </igGrid:TemplateColumn>
where Margin is of type double.
The problem is that the xamNumericEditor does not show correctly the number, as you can see in the attached image. Anyway, the display will be correct after I (double) click the cell.
I want to use it in the manner described above, by means of template column, because I have a customized xamNumericEditor that is used as a stand alone control, outside the grid, too.
Please, tell me, how can I show the correct (entire)value, without focusing the cell ?
Thanks,
Alin
Hello Alin,
This seems to be an issue with the XamNumericEditor. We have created a support case on your behalf so that you can be notified through the case when this is resolved.
We will continue this discussion through the support case : CAS-49912-4H92PG.
Any updates on this case? Is it solved? I am probably facing the same issue.
Thanks, Florian
I have the following case:
<Grid x:Name="LayoutRoot" Background="White"> <igEd:XamNumericEditor HorizontalAlignment="Left"
Width="60"
VerticalAlignment="Center" ValueType="System:Int32" x:Name="NumericEditor0"> </igEd:XamNumericEditor> <Button HorizontalAlignment="Right" Height="30" Width="30" Click="Button_Click" /></Grid>
Handler of button click event:
private void Button_Click
(object sender, RoutedEventArgs e) { NumericEditor0.Value = 200; }
So, when I click the button, the numeric editor should show 200, but it look like in the below image:
It seems to be a bug.
Can you take a look?
Hello Florian,
This issue (#36409) has been fixed in our latest service releases for 10.1, 10.2 and 10.3 versions.
Please, let us know if you still get the problem.