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
585
How to make numeric format respect to specific culture
posted

For a date column, I can pass in the string value of user's CultureInfo.CurrentCulture.DateTimeFormat.ShortDatePattern to format the value in different culture such as [de-DE].  For example, column.format = "dd.mm.yyyy"

However, it seems that igGrid always defaults to [en-US]. For example, setting column.format = "#,##0.00" for a number column does not format the value in [de-DE], but [en-US].

How can I set a format pattern for a number column that can respect the NumberFormatInfo of [de-DE], where the groupSeparator is '.' and decimalSeparator is ','?

Thanks!

Parents
No Data
Reply Children
No Data