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
965
XamNumericEditor in XamGrid
posted

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

Parents Reply Children