globalConfig

Specifies settings that affect all DevExtreme widgets.

Module: core/config
Export: default
Type:

Object

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,
    //...
});

decimalSeparator

A decimal separator. Applies only if you do not use the Globalize or Intl library.

Type:

String

Default Value: '.'

defaultCurrency

The default currency. Accepts a 3-letter ISO 4217 code.

Type:

String

Default Value: 'USD'
NOTE
Reference Globalize or Intl if you specify a currency other than "USD".

Assign the currency code to this field if you use Intl, or do the following if you use Globalize:

  1. Get the currencies.json file that corresponds to your culture from a folder here.
  2. Load this file's contents in your app using a method described here.
  3. Assign the currency's 3-letter code to this field.

    DevExpress.config({ defaultCurrency: 'EUR' });

See Also

editorStylingMode

Specifies how editors' text fields are styled in your application.

Type:

String

Default Value: undefined
Accepted Values: 'outlined' | 'underlined' | 'filled'

The following styles are available:

Text Editor Styling Modes

JavaScript
DevExpress.config({ 
    editorStylingMode: 'filled' // or 'outlined' | 'underlined'
});

View Demo

forceIsoDateParsing

Specifies whether dates are parsed and serialized according to the ISO 8601 standard in all browsers.

Type:

Boolean

Default Value: true

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.

Type:

Boolean

Default Value: false

serverDecimalSeparator

The decimal separator that is used when submitting a value to the server.

Type:

String

Default Value: '.'

thousandsSeparator

A group separator. Applies only if you do not use the Globalize or Intl library.

Type:

String

Default Value: ','