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
615
Numeric editor
posted

I want to align the (positive and negative) values in numeric editors that are placed underneath eachother like this

    1000
    1500
         50-

i tried this format string:

#######0 ;########0-;#

but that doesn't work...

  • 48586
    posted

     

    Hello, ­­­­­

     

    I am just checking about the progress of this issue. Let me know If you need any further assistance on this  issue?

     

    Thank you for using Infragistics Components.

  • 48586
    Suggested Answer
    posted

    Hello Jasper,

     

    In order to achieve such formatting you should set MaskInput for UltraNumericEditor to something like “-nnnnnnnnnnn”, in order to allow entering negative numbers, then set  FormatString to something like “####0;####0-;#”. Then when you enter a negative number and leave the editor, it will displays a negative numbers as “50-”.

     

    Please let me know if you have any further questions.