extjs 中的 Slider 怎么使用,像图中那样 ,取得两个点的值?
[b]问题补充:[/b]
如何放置两个选择标记 ?
希望可以帮到你,有任何问题可以问我Q3990995
[code="html"]
Ext.onReady(function() {
var win = new Ext.Window({
title:'Slider Test Form',
collapsible:true,
closable:false,
width:400,
height:300,
layout:'fit',
items:{
xtype:'form',
id:'slider-form',
bodyStyle:'padding:5px',
baseCls:'x-plain',
defaults:{width:200},
items:[{
xtype:'textfield',
name:'textfield1',
anchor:'95%',
fieldLabel:'Text Field'
},{
xtype:'sliderfield',
name:'slider1',
id:'slider1Id',
minValue:50,
maxValue:100,
anchor:'95%',
fieldLabel:'Slider'
}]
},
buttons: [{
text: 'Save',handler:function() {
alert(Math. win.getComponent('slider-form').findById('slider1Id').getValue());
}
},{
text: 'Cancel'
}]
});
win.show();
});
你在哪里看到有两个的.给我地址,我看看再给你答案