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
2225
Numeric Editor - ungrouping
posted

Is there a way to turn off the grouping of digits?

My need is for Account number entry (no dashes commas or decimals needed.)

I don't see a way to turn off grouping, to set formatting, etc...

Thanks,
Tony

  • 19693
    posted

    Hello Tony,

    I think that GroupSeparator is what you are looking for.It represents the character, which is used as separator for groups (like thousands).
    That option has effect only in display (no focus) state.
    Default is null and $.ig.regional.defaults is used.

    http://help.infragistics.com/jQuery/2011.1/ui.ignumericeditor#!options

    @(Html.Infragistics().NumericEditor()

    .ID("numericEditor")

    .Width(200)

    .TextAlignment(TextEditorTextAlignment.Right)

    .ScientificFormat(NumericEditorScientificFormat.e)

    .DecimalSeparator('\0')

    .GroupSeparator('\0')

    .ButtonType(TextEditorButtonType.None)

    .DataMode(NumericEditorDataMode.Float)

    .Render()

    )

    Let us know if you need further assistance regarding this.

  • 2225
    posted

    I'm just going to use the masked editor.

    Still, would be nice to be able to turn off grouping on the numeric.