The z-index of all overlay widgets located on a page is calculated based on the value passed to this method. Since an overlay widget is added, its z-index is increased by one relative to a previously added overlay widget.
The following example demonstrates how to call the method.
DevExpress.ui.dxOverlay.baseZIndex(2000); // ===== or when using modules ===== import * as overlay from 'devextreme/ui/overlay'; overlay.baseZIndex(2000);
By default, the base z-index for all overlay widgets except Toast is 1500.
The method affects the following widgets.