March 29, 2024, 05:17:52 AM

See more Support incidents in our old archived forum.

Author Topic: How to syncronize WPF Flexy Gantt left and right sides?  (Read 5716 times)

ilkka.paloheimo

  • Customers
  • Newbie
  • *
  • Posts: 22
How to syncronize WPF Flexy Gantt left and right sides?
« on: September 22, 2015, 08:28:19 AM »
I have the following problem:
I scroll down Flexy gantt (so that the first lines disappear from the view).
Then I reload FlexyGantt.ItemsSource.
Now left side stays where it was but the right side jumps to different vertical position.
When I roll mouse wheel one line down, right side jumps to right position! (and both sides are syncronized).
What's the correct way to syncronize (without moving to top) the view in my code?
I have updated to version 7.

Regards,
Ilkka

Rajagopal

  • RQ Members
  • Full Member
  • *
  • Posts: 182
Re: How to syncronize WPF Flexy Gantt left and right sides?
« Reply #1 on: September 22, 2015, 03:36:13 PM »
Ilkka,

We have tried this in our install "PerformanceTestSample" sample. But, we are not able to reproduce it.

Are you able to reproduce this issue in our install sample? Could you please help us to reproduce this issue by replication procedure or sharing some sample with us?


Thanks,
- Raja.

ilkka.paloheimo

  • Customers
  • Newbie
  • *
  • Posts: 22
Re: How to syncronize WPF Flexy Gantt left and right sides?
« Reply #2 on: September 24, 2015, 08:26:19 AM »
Hello,

Issue solved when I found the right places to store and reset FlexyGantt.GanttChart.ScrollViewerElement.ScrollToVerticalOffset

Thanks any way!

ilkka.paloheimo

  • Customers
  • Newbie
  • *
  • Posts: 22
Re: How to syncronize WPF Flexy Gantt left and right sides?
« Reply #3 on: November 02, 2015, 12:10:52 PM »
Hello,
I still have this problem! It happens quite seldom and I can't reproduce it easily. But it is quite annoying when it happens.

I have also other problems with scrolling. Can you tell how to use the following commands correct:
ResourceFlexyGantt.GanttChart.ScrollViewerElement.ScrollToHorizontalOffset(FlexyScrollViewer.ContentHorizontalOffset)
ResourceFlexyGantt.GanttChart.ScrollViewerElement.ScrollToHome()
ResourceFlexyGantt.GanttChart.VerticalScrollViewerElement.ScrollToHome()
ResourceFlexyGantt.GanttChart.ScrollViewerElement.ScrollToHorizontalOffset(0)

I can't get any effect with these! Is there certain palace where to put them?

Regards, Ilkka

ForumAdmin

  • Administrator
  • Jr. Member
  • *****
  • Posts: 96
Re: How to syncronize WPF Flexy Gantt left and right sides?
« Reply #4 on: November 02, 2015, 07:50:03 PM »
Ilkka,

a) Can you provide us a sample that reproduces this issue (even if occasionally)? And can you provide a screen recording?

b) Regarding the APIs you point out, can you tell us what you are trying to accomplish? We will then provide you the right code.

Thanks
RQ Support

ilkka.paloheimo

  • Customers
  • Newbie
  • *
  • Posts: 22
Re: How to syncronize WPF Flexy Gantt left and right sides?
« Reply #5 on: November 04, 2015, 10:30:34 AM »
Hello,
a) Now I have a recording. Can I get an email address to send to?

b) At first I want to scroll the gnatt view to left when the view opens.
Regards, Ilkka

ForumAdmin

  • Administrator
  • Jr. Member
  • *****
  • Posts: 96
Re: How to syncronize WPF Flexy Gantt left and right sides?
« Reply #6 on: November 04, 2015, 12:31:14 PM »
Ilkka,

Please send the recording to support AT radiantq.com email.

Thanks
RQ Support