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

Changing ProgressBar Min and Max

13 Answers 233 Views
ProgressBar
This is a migrated thread and some comments may be shown as answers.
Simon
Top achievements
Rank 1
Simon asked on 08 Jan 2014, 02:33 PM
The ProgressBar documentation has only 2 documented methods (enable and value).

Is there a way to change the ProgressBar Min and Max value after the widget initial configuration?

13 Answers, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 08 Jan 2014, 03:17 PM
Hello Simon,


The min and max properties of the ProgressBar widget cannot be changed at run-time at the moment. Nevertheless I will pass this suggestion to the development team.

Regards,
Dimiter Madjarov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Simon
Top achievements
Rank 1
answered on 08 Jan 2014, 03:38 PM
Thanks you Dimiter
0
Rogier
Top achievements
Rank 1
answered on 04 Feb 2014, 05:33 PM
Is there a workaround for this problem?
0
Dimiter Madjarov
Telerik team
answered on 05 Feb 2014, 09:47 AM
Hello Roger,


At the moment the only workaround would be to destroy and re-create the ProgressBar widget. Here is a JS Bin example, which demonstrates a sample approach.

We will consider including this as a built in functionality in future releases. I wish you a great day!

Regards,
Dimiter Madjarov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Olivier
Top achievements
Rank 1
answered on 18 Feb 2015, 04:15 PM
Hi guys!

Please don't forget about this feature!

Thanks.
0
Dimiter Madjarov
Telerik team
answered on 19 Feb 2015, 12:17 PM

Hello Olivier,

 

 

If you consider that this is a must, I would suggest to post it in our User Voice portal. This will help us determine if the feature is needed by our users.

 

Regards,
Dimiter Madjarov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Simon
Top achievements
Rank 1
answered on 19 Feb 2015, 12:39 PM
I created a user voice request for this feature.
0
Dimiter Madjarov
Telerik team
answered on 20 Feb 2015, 08:54 AM

Hello Simon,

Thanks for posting it. We will look forward to the activity of the request.

Regards,
Dimiter Madjarov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
James
Top achievements
Rank 1
answered on 28 Aug 2018, 02:25 PM

The following code worked for me.

var pb = $("#myProgressBar").data("kendoProgressBar"); 
 var newMax = 1000;   
pb.options.max = newMax;
0
Ivan Danchev
Telerik team
answered on 30 Aug 2018, 07:33 AM
Hello James,

At my end setting the max option does not make a difference: dojo example. While the max option value does change (becomes 1000), the ProgressBar continues to display the original max value (10). Let us know in case we are missing something with regard to how your approach is supposed to work.

Regards,
Ivan Danchev
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
James
Top achievements
Rank 1
answered on 30 Aug 2018, 11:51 AM

Ivan,

 This example is static, so now change the value to progress the bar. Once you change the value the progress bar will recalculate.

pb.value(100)
0
Ivan Danchev
Telerik team
answered on 03 Sep 2018, 08:12 AM
Hello James,

Thank you for the clarifying the scenario.

Regards,
Ivan Danchev
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Robert
Top achievements
Rank 2
answered on 05 Mar 2019, 04:51 PM
Thank you James!  Updated dojo: https://dojo.telerik.com/IZoBEXIN/14 
Tags
ProgressBar
Asked by
Simon
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
Simon
Top achievements
Rank 1
Rogier
Top achievements
Rank 1
Olivier
Top achievements
Rank 1
James
Top achievements
Rank 1
Ivan Danchev
Telerik team
Robert
Top achievements
Rank 2
Share this question
or