Opened 13 years ago
Closed 13 years ago
#6006 closed enhancement (fixed)
Range slider widget (dojox.widget.RangeSlider)
Reported by: | guest | Owned by: | nathan |
---|---|---|---|
Priority: | high | Milestone: | 1.2 |
Component: | DojoX Form | Version: | 1.0 |
Keywords: | dojox range slider | Cc: | [email protected]…, Douglas Hays, wolfram, davidb, Joseph Scheuhammer, Becky Gibson, mccain |
Blocked By: | Blocking: |
Description (last modified by )
This is a slider widget using two slider handles for selecting a range. It's subclassing dijit.form.Slider. Attached is an early version of this widget. It was tested in ie6, ff and safari.
You can test the widget here: http://tobias.klpstn.com/dojo/dojox/widget/tests/test_RangeSlider.html
Attachments (4)
Change History (21)
comment:1 Changed 13 years ago by
Component: | Dojox → DojoX Form |
---|---|
Owner: | changed from Adam Peller to dante |
comment:2 Changed 13 years ago by
Cc: | Douglas Hays added |
---|
comment:3 Changed 13 years ago by
comment:4 Changed 13 years ago by
i also tested it with ff2/mac. just tell me, what strange thing happened. as i said above, it is an early version, so there could be some minor bugs. in my opinion, there is a problem concerning, how i set the value within the widget. have to rethink, how i gonna implement it.
concerning the namespace: i'll rename it to dojox.form and attach it then.
Changed 13 years ago by
Attachment: | RangeSlider.tar.gz added |
---|
RangeSlider? using dojox.form as namespace
comment:5 Changed 13 years ago by
Milestone: | → 1.2 |
---|
Changed 13 years ago by
Attachment: | RangeSlider1.1.tar.gz added |
---|
Range Slider enhanced and working with 1.1
comment:7 Changed 13 years ago by
Cc: | wolfram added |
---|---|
Description: | modified (diff) |
comment:8 Changed 13 years ago by
The left arrow key only moves the left handle and right arrow only moves the right handle. We need a way to move both handles both ways.
comment:9 Changed 13 years ago by
Cc: | davidb added |
---|
comment:10 Changed 13 years ago by
Cc: | Joseph Scheuhammer Becky Gibson added |
---|
Neat widget.
A comment about keyboard support: It should include pgup/pgdn/home/end in some fashion and be consistent with single range slider. See the "Keyboard" section of http://dojotoolkit.org/book/dojo-book-0-9/part-2-dijit/form-validation-specialized-input/slider.
The range slider currently supports home/end, but only for the "left" thumb (probably related to what gets focus).
Also, it moves the left thumb to the beginning and end of the entire range. It should be restricted to the current value of the "right" thumb (you can't have a "negative" range between the thumbs).
Changed 13 years ago by
Attachment: | RangeSlider1.1-tabbing.tar.gz added |
---|
now with better tab-support
comment:11 Changed 13 years ago by
thx for the input.
i've now changed the widget to support better keyboard handling. the widget now has 3 tab-steps:
- Tab-Step: left/bottom-handler selected (change minimum value with left/right)
- Tab-Step: bar selected (change minimum and maximum value with left/right)
- Tab-Step: right/top-handler selected (changed maximum value with left/right)
I would appreciate new opinions.
AND: CLA is already signed :-)
comment:12 Changed 13 years ago by
you can test the actual version of the rangeslider here: http://tobias.klpstn.com/dojo1.1/dojox/form/tests/test_RangeSlider.html
comment:13 Changed 13 years ago by
Cc: | mccain added |
---|---|
Owner: | changed from dante to Nathan Toone |
this looks good and ready for dojox.form -- passing to project maintainer for committing. (or mccain, feel free to)
comment:14 Changed 13 years ago by
Owner: | changed from Nathan Toone to nathan |
---|
comment:15 Changed 13 years ago by
Status: | new → assigned |
---|
Can you try and re-attach the patch file? It seems to be corrupted (it appears to be just a gzipped HTML file...not a tar file)
comment:16 Changed 13 years ago by
I was actually able to pull the files from http://tobias.klpstn.com...so no need to attach (as long as the files there are the correct ones)
Changed 13 years ago by
Attachment: | RangeSlider1.1-tabbing.zip added |
---|
Hopefully this archive works now
comment:17 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
can I suggest we renamespace this for dojox.form? also I experienced strange behavior in FF2/Mac with selection.