Completed
Last Updated: 17 Jun 2019 14:10 by ADMIN
Release R2 2019 SP1
Karsten
Created on: 21 May 2019 12:25
Category: GanttView
Type: Bug Report
1
GanttView ChildMember/ParentMember datatype as string

Hi,

why is the datatype of the ChildMember/ParentMember item limited to Int32? This is a problem when displaying tasks or events from tables with string or UUID idents. It would be a more flexible control if the type could be any type. Should not be a big deal to change this or is it?

Thank you und kind regards

Karsten

3 comments
ADMIN
Dess | Tech Support Engineer, Principal
Posted on: 27 May 2019 12:09
Hello, Karsten,    

RadGanttView internally uses binary search for traversing the parent and child IDs and it replies on the fact that the IDs are sorted. You may obtain incorrect hierarchical structure even with integer IDs if the values of the parent and child records are not ordered.

We will try to introduce a fix as soon as possible. However, I can't give you an exact time frame when the issue will be addressed. Make sure that you follow this item. Thus, you will get notified once the status changes.

Should you have further questions please let me know.

Regards,
Dess | Tech Support Engineer, Sr.
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.
Karsten
Posted on: 22 May 2019 08:22

Hi Dess,

thanks for your prompt answer! I think this behaviour might be because the id internally be converted to int somehow? If you use data binding it will only accept int as datatype for the id columns - everything else throws an exception.

Kind regards

Karsten

ADMIN
Dess | Tech Support Engineer, Principal
Posted on: 22 May 2019 08:09
Hello, Karsten,     

Following the provided information, I was able to replicate incorrect data-binding behavior when using Id/ParentId that are not integers, e.g. Guid. Some of the task items are missing or the hierarchy is not built properly. The behavior is absolutely random. I have attached a sample project demonstrating the issue. The below screenshot illustrates the expected behavior. If you run the application several times, you are going to obtain different result. If you try to hide some of the columns on the left grid, the behavior also is different.



I have logged it in our feedback portal by making this thread public. You can track its progress, subscribe for status changes and add your comments on the following link - feedback item.

I have also updated your Telerik points.

Currently, the possible solution that I can suggest is to use integer values instead.

Regards,
Dess | Tech Support Engineer, Sr.
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.
Attached Files: