Angular Common - Object Structures - globalConfig
Pass this object to the DevExpress.config(globalConfig) method to apply these setting, or call the same method without argumants to get the object with current settings.
DevExpress.config({ rtlEnabled: true, forceIsoDateParsing: false, //... });
defaultCurrency
The default currency. Accepts a 3-letter code specified by ISO 4217.
If you use Intl, just assign the currency code to this field.
If you use Globalize, do the following:
- Get the currencies.json file that corresponds to your culture from one of the folders here.
- Load the contents of this file in your app using one of the methods described here.
Assign the 3-letter code of the needed currency to this field.
DevExpress.config({ defaultCurrency: 'EUR' });
See Also
forceIsoDateParsing
Specifies whether dates are parsed and serialized according to the ISO 8601 standard in all browsers.
The default value is true. This implies that widgets detect date-time values' format automatically. If the values are not provided to the widget yet, you need to specify the format explicitly using the widget's dateSerializationFormat option. When you assign false to the forceIsoDateParsing, a browser's resources are utilized to parse and serialize date-time values.
rtlEnabled
Specifies whether the widgets support a right-to-left representation. Available for individual widgets as well.
If you have technical questions, please create a support ticket in the DevExpress Support Center.