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
1120
A bug or a default setting?
posted

When  number is big, the comma (,) is lost. for example,  
3983,256,580.22 istead of  3,983,256,580.22

I am binding the query result to the xmlDataGrid directlty.

Thanks!
Steve

Parents
No Data
Reply
  • 9836
    posted

    Hi Steve,


    This is because you are using the default Mask on the XamCurrencyEditor.I suggest you to set a different mask as a style :

    <Style TargetType="{x:Type igEditors:XamCurrencyEditor}" x:Key="CurrencyStyle">
            <Setter Property="Mask" Value="{}{currency:10.2:c}" />
    </Style>

    <igDP:Field Name="CurrencyValue">
          <igDP:Field.Settings>
                  <igDP:FieldSettings EditAsType="{x:Type sys:Decimal}"
                                      EditorType="{x:Type igEditors:XamCurrencyEditor}"
                                      EditorStyle="{StaticResource CurrencyStyle}"
                  />
          </igDP:Field.Settings>
    </igDP:Field>

    Regards

    Vlad

Children