October 23, 2020, 07:57:37 AM

See more Support incidents in our old archived forum.

Author Topic: Overlapping of tasks does not work initially  (Read 477 times)

jan.reker

  • Customers
  • Newbie
  • *
  • Posts: 33
Overlapping of tasks does not work initially
« on: April 30, 2020, 12:11:06 PM »
I've uploaded a video that shows our problem:
https://my.hidrive.com/lnk/PChJJXNb

When I drag a new task into the Gantt and there already is an existing one at its position most of the time they will be rendered upon each other. Only when I click the existing one the view becomes refreshed and they are separately drawn above each other, as we want it to be.

As far as I can see it is developed as it is recommended here:
http://www.radiantq.com/Docs/WPFGantt/UsersGuide/WPFGanttUsersGuide.html?OverlappedTasksLook

OverlappedTasksRenderingOptimization is set to "ShrinkHeight" is and there is a RowHeightBinding that will cause the row height to expand.

Any ideas on this?

I've found mentions of two properties that sound interesting for this problem. Could you please describe what they do and if they might be of help here?

1. In the release notes of version 8: "Ability to refresh overlapped tasks layout with TasksListControl.RefreshOverlappedBars."
2. In the release notes of version 9: ""BeforeOverlappingSet" event in FlexyGantt to handle events when overlapping of tasks occurs (to customize the default overlapping behavior). Illustrated in CollapsingTasks sample.."

Thanks!
Jan

Rajagopal

  • RQ Members
  • Full Member
  • *
  • Posts: 149
Re: Overlapping of tasks does not work initially
« Reply #1 on: April 30, 2020, 04:26:39 PM »
Jan,

We are looking on this, will update you soon.

Thanks
Raja

Rajagopal

  • RQ Members
  • Full Member
  • *
  • Posts: 149
Re: Overlapping of tasks does not work initially
« Reply #2 on: May 06, 2020, 05:07:33 PM »
Jan,

We tried reproducing the issue in installed sample unfortunately we couldn't. Can you please share the reference sample so that we could try on it.

RefreshOverlappedBars - refreshes overlapped tasks layout with TasksListControl.RefreshOverlappedBars

BeforeOverlappingSet - an event that triggers before two tasks overlap

Thanks,
Raja.

jan.reker

  • Customers
  • Newbie
  • *
  • Posts: 33
Re: Overlapping of tasks does not work initially
« Reply #3 on: May 07, 2020, 08:35:39 AM »
Hi,

unfortunately I cannot share our whole application, where it is reproducable and I cannot reproduce in the samples either.

What seems to help is to manually call RefreshOverlappedBars() on the TasksListControl in the ChartRow_Drop event handler. However this feels a bit like a workaround for something that should work w/o taking care of it manually but at least it seems to work. :)

Thanks
Jan