如何将 z-index 设置为 Ext.Panel (ExtJS)? [英] How sets z-index to Ext.Panel (ExtJS)?

查看:21
本文介绍了如何将 z-index 设置为 Ext.Panel (ExtJS)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对 ExtJS 中的 z-index(我认为)有问题.将元素从 GridPanel 拖放到 DataView 时,我将元素拖放到 GridPanel 上,然后将其拖放到 DataView.但是DataView 下有GridPanel 的地方,这是不可能的!谢谢!(所有浏览器都有问题)

I have problem with z-index (i think) in ExtJS. While drag and drop element from GridPanel to DataView I drop element over GridPanel and it dropped to DataView. But DataView have place under the GridPanel, and this imposible! Thx! (problem in all browsers)

推荐答案

您是否尝试过将项目的 z-index 设置为更高的顺序?IE.

Have you tried setting the z-index of your item to a higher order? ie.

Ext.Msg.show({
    title:'Request Failed',
    msg:"Error, The request was not found in the database",
    icon: Ext.MessageBox.ERROR,
    buttons: Ext.Msg.OK
});
Ext.MessageBox.getDialog().getEl().setStyle('z-index','80000');

这篇关于如何将 z-index 设置为 Ext.Panel (ExtJS)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆