jQuery/JS Common - Utils - ui - Overlay
baseZIndex(zIndex)
The z-index of all overlay UI components located on a page is calculated based on the value passed to this method. Since an overlay UI component is added, its z-index is increased by one relative to a previously added overlay UI component.
The following example demonstrates how to call the method.
jQuery
DevExpress.ui.dxOverlay.baseZIndex(2000); // ===== or when using modules ===== import { baseZIndex } from 'devextreme/ui/overlay'; baseZIndex(2000);
Angular
import { baseZIndex } from 'devextreme/ui/overlay'; baseZIndex(2000);
Vue
import { baseZIndex } from 'devextreme/ui/overlay'; baseZIndex(2000);
React
import { baseZIndex } from 'devextreme/ui/overlay'; baseZIndex(2000);
By default, the base z-index for all overlay UI components except Toast is 1500.
The method affects the following UI components.
If you have technical questions, please create a support ticket in the DevExpress Support Center.