
extjs中往面板头部添加的工具栏按钮不显示怎么回事
我添加了三个按钮,运行时看不到按钮,但是鼠标放上面是可以点击的,为什么会不显示呢?源码:Ext.onReady(function(){newExt.Panel({rend...
我添加了三个按钮,运行时看不到按钮,但是鼠标放上面是可以点击的,为什么会不显示呢?
源码:
Ext.onReady(function(){
new Ext.Panel({
renderTo:"hello",
title:"hello",
width:300,
height:200,
html:'<h1>Hello,easyjf open source!</h1>',
tools:[{
id:"save"},
{id:"help",
handler:function(){Ext.Msg.alert('help','please help me!');}
},
{id:"close"}],
tbar:[{pressed:true,text:'刷新'}]
});
}); 展开
源码:
Ext.onReady(function(){
new Ext.Panel({
renderTo:"hello",
title:"hello",
width:300,
height:200,
html:'<h1>Hello,easyjf open source!</h1>',
tools:[{
id:"save"},
{id:"help",
handler:function(){Ext.Msg.alert('help','please help me!');}
},
{id:"close"}],
tbar:[{pressed:true,text:'刷新'}]
});
}); 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询