This is a migrated thread and some comments may be shown as answers.

Changing slider configuration dynamically

1 Answer 180 Views
Slider
This is a migrated thread and some comments may be shown as answers.
Loc
Top achievements
Rank 1
Loc asked on 15 Jun 2015, 04:34 PM

Is there a way to change slider configurations dynamically at run time? One of my requirements is to have a slider with a max that gets bigger and bigger each time the tick hits the right side. For example,

 100, 1000, 10000

 I've see a widget.refresh() function on some other Kendo widgets.

1 Answer, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 17 Jun 2015, 02:02 PM
Hi,

The options of the Kendo UI Slider, cannot be changed runtime. You will need to destroy and recreate the widget if you want to change the options. Please note that you need to use the built in destroy method:

http://docs.telerik.com/kendo-ui/api/javascript/ui/slider#methods-destroy

Regards,
Kiril Nikolov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Slider
Asked by
Loc
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Share this question
or