最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

c# - How to Modify the Labels on a KendoUI Slider Ticks? - Stack Overflow

programmeradmin1浏览0评论

I am using the KendoUi Slider. I'm using the following setings:

jQuery(document).ready(function () {
        jQuery("#slider").kendoSlider({
            increaseButtonTitle: "Right",
            decreaseButtonTitle: "Left",
            showButtons: false,
            min: 1,
            max: 4,
            smallStep: .2,
            largeStep: 1,
            value: <%= TotalScore %>,
            tooltip:
                {
                    enabled:false
                }  
        });

I have four large steps and I want to label each of them "P" "O" "G" "I" in place of the numbers. How can I do this?

I am using the KendoUi Slider. I'm using the following setings:

jQuery(document).ready(function () {
        jQuery("#slider").kendoSlider({
            increaseButtonTitle: "Right",
            decreaseButtonTitle: "Left",
            showButtons: false,
            min: 1,
            max: 4,
            smallStep: .2,
            largeStep: 1,
            value: <%= TotalScore %>,
            tooltip:
                {
                    enabled:false
                }  
        });

I have four large steps and I want to label each of them "P" "O" "G" "I" in place of the numbers. How can I do this?

Share Improve this question edited Mar 28, 2012 at 19:22 Rodney Hickman asked Mar 26, 2012 at 20:49 Rodney HickmanRodney Hickman 3,14311 gold badges55 silver badges83 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 16

I couldn't find anything in the settings that would allow for this. So, I just built a quick slider item modifier instead:

http://jsfiddle/latenightcoder/QwGUy/1/

发布评论

评论列表(0)

  1. 暂无评论