Completed
Last Updated: 02 Mar 2021 06:51 by ADMIN
Release 2021.R1.SP.next
Created on: 02 Nov 2020 10:23
Category: Gantt
Type: Bug Report
1
Gantt parent task percentComplete does not update correctly in filtering scenarios

Bug report

Reproduction of the problem

Reproducible in the Columns demo: https://demos.telerik.com/kendo-ui/gantt/columns

  1. Filter by "Title" -> contains "Market". Only the child "Market" will be visible in the parent "Research" task.
  2. Edit "Market" and set it percentComplete to 100%.

Current behavior

The parent's percent complete is also set to 100%. This is incorrect, since the other children of parent are not removed from the dataSource, they are just visually filtered. The problem becomes more evident, if the filter is cleared. Then the parent keeps its 100% value, even though it contains child tasks with percentComplete less than 100%.

Expected/desired behavior

The parent task percent complete should be consistent to the behavior without filtering applied. Using the same example, this means: on updating "Market" to 100%, Research should change its percentComplete to 49%, taking into account all of its children percentComplete values.

Environment

  • Kendo UI version: 2020.3.1021
  • jQuery version: x.y
  • Browser: [all]
0 comments