| id | config(config) |
|---|---|
| module | common |
| export | config |
Configures your application before its launch.
Global configuration properties.
<!-- tab: index.js -->
DevExpress.config({
rtlEnabled: true,
forceIsoDateParsing: false,
// ...
});
// ===== or when using modules =====
import config from "devextreme/core/config";
config({
rtlEnabled: true,
forceIsoDateParsing: false,
// ...
})
<!-- tab: app.component.ts -->
import config from "devextreme/core/config";
config({
rtlEnabled: true,
forceIsoDateParsing: false,
// ...
})
<!-- tab: App.vue -->
import config from "devextreme/core/config";
config({
rtlEnabled: true,
forceIsoDateParsing: false,
// ...
})
<!-- tab: App.js -->
import config from "devextreme/core/config";
config({
rtlEnabled: true,
forceIsoDateParsing: false,
// ...
})
[note] This method should be called only once - at the application's launch. It is necessary to reload the page each time you need to apply new global configuration parameters.