Last Updated: 16 Aug 2021 14:09 by ADMIN
Created on: 04 Aug 2021 18:04
Category: Gantt
Type: Feature Request
Add support for allowed range of values for the Percent Complete Numeric TextBox editor

in the demo, the percentage display can be over 100%.
As soon as it is over 100% there, the following error is displayed:

(this also happens because it is always incremented by 1, which then always corresponds to an additional 100%.)






In the meantime, a possible workaround could be to use the built-in validation and set values 0 to 1 for the Range attribute of the Percent Complete field. The attached example demonstrates how to achieve that.


1 comment
Nadezhda Tacheva
Posted on: 16 Aug 2021 14:09

Hi Matthias,

First and foremost, I'd like to apologize for the delay in our response. We have recently encountered an issue with our internal system regarding not displaying the tickets associated with the Gantt component. Thus, they appeared to be left out of our queue causing delays in the response time.

Second, thank you for noticing and reporting the above mentioned behavior. It indeed occurs in the Templates demo and can also be observed in all of the other Gantt demos that support editing.

I researched the case further and it can be separated in two areas:

No restrictions for the Percent Complete field editor

Currently, as per the component configuration, no restrictions are included for the Numeric TextBox that is used as editor for the Percent Complete field. In general, the expected values for that field are between 0 and 1 to stand for percent of completeness for the item. However, as any values can be entered, this could cause troubles at some point. I was able to discuss the scenario with the development team and we agreed that setting allowed range for the Percent Complete numeric editor is a valid feature to implement.

I tweaked this thread's title a bit to be more specific and changed its type to "Feature request". Since such a setup was not initially part of the component specification and planning, we consider it more of an enhancement/feature rather than bug.

In the meantime, a possible workaround could be to use the built-in validation and set values 0 to 1 for the Range attribute of the Percent Complete field (check the admin edit).

Percent Complete field editor increase/decrease step

At this stage if the Gantt task is opened for editing from the Timeline , you can notice that the Percent Complete editor increase/decrease step is 0.01 (you can also test it in the demo). On the other hand, the Gantt Tree numeric editor used for the Percent Complete field uses 1 for increase/decrease step as you have noticed. Since we consider that the increase/decrease step of both Gantt component numeric editors should be identical, I opened bug report on your behalf to cover that scenario - Increase/Decrease step of the Percent Complete Numeric TextBox editor should be 0.01. We have already scheduled it for fixing in the 2.27.0 release.

Since you are the creator of both public threads, you are subscribed an will receive email notifications when their status changes (for example when the planned one is in development or when we schedule the unplanned for implementing).

In addition, as a small token of appreciation, I have added some Telerik points to your account for reporting the bug.

I hope you will find the above information useful. If you run across any further concerns, please let us know.

Nadezhda Tacheva
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.