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
Left-Align Numeric Columns
posted

Hi All:

    I have a column in my UltraGrid which shows the 5-digit zipcode.  The MaskEdit property on this column is set as "nnnnn".

    This works fine, except when the user enters the data, the data shows from right to left rather than left to right.  I tried binding this column to an UltraNumericEditor control and setting its RightToLeft property to "No", but that didn't work.

     Does anyone know how to set the MaskEdit property so that, when the user enters the 5-digit zipcode, the input will show up from left to right rather than right to left?

  • 2426
    posted

    Hello Kevin,

    You should use the "99999" mask to specify non-required numbers. You could also use the "#####" mask to specify required numbers. For more information on Mask Inputs, please refer to this documentation.

    Hope that helps.

  • 17259
    Offline posted

    Infragistics doesn't support Right to Left right now, and this could be because Appearance.TextHAlign equals Right.