triggerWrapCls:'',
var txtCount =
new Ext.form.field.Display({
fieldLabel:
'汇总:',
labelWidth:
40,
hidden:
false,
readOnly:
true
})
;
可以setValue
搞不懂为什么css的样式在extjs里不生效?如下方法可以用样式去边框
<style>
.
my-border-none-textfield{
border-style:
none;}
</style>
var txtCount =
new Ext.form.field.Text({
inputWrapCls:
'my-border-none-textfield',//输入框隐藏样式
triggerWrapCls:
'my-border-none-textfield',//触发隐藏样式
fieldLabel:
'汇总:',
labelWidth:
40,
hidden:
false,
readOnly:
true
})
;
转载请注明原文地址: https://www.6miu.com/read-15499.html