extjs 中的 Slider ?

extjs 中的 Slider 怎么使用,像图中那样 ,取得两个点的值?
[b]问题补充:[/b]
如何放置两个选择标记 ?

希望可以帮到你,有任何问题可以问我Q3990995
[code="html"]






<br> Ext.onReady(function() {<br> var a = new Ext.Slider({<br> renderTo : Ext.getBody(),<br> width : 214,<br> minValue : 0,<br> maxValue : 100,<br> listeners : {<br> &#39;beforechange&#39; : function(slider, newValue, oldValue) {<br> alert(&quot;newValue:&quot; + newValue + &quot; oldValue:&quot; + oldValue);</p> <pre><code> } } }); }); &lt;/script&gt; &lt;/head&gt; &lt;body&gt; &lt;/body&gt; </code></pre> <p></html><br> [/code]</p>

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();
});

你在哪里看到有两个的.给我地址,我看看再给你答案