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
105
Numeric Editor decimal seperator in igGrid
posted

Hi,

I've been working with igGrid updating recently. I have a grid in which one column is editable and it's numeric. Default decimal seperator is a dot (.) but I want it to be a comma (,)

I have run into this thread in the forum and I tried the option for api but it did not work. Is there any other way to do so?

Thanks in advance and best regards

Parents
  • 17590
    Offline posted

    Hello,

    In order to change the decimal separator in igNumericEditor decimalSeparator option should be used. This option could be set via the column settings of the Updating feature. For example:

     features: [
                       {
                           name: "Updating",
                           columnSettings: [
                           {
                              columnKey : "Number",
                              editorType: "numeric",
                              editorOptions: {
                                decimalSeparator : ","
                              }
                           }
                         ]
                       }
                    ]

    Please test my suggestion on your side and let mw know whether it helps you achieve your requirement.

    Do not hesitate to contact me if you have any additional questions regarding this matter.

Reply Children