RadiantQ Forum

Product => WPF Gantt Package => Topic started by: Marlene.Witsch on January 25, 2017, 02:21:30 PM

Title: ContextMenu slowing down loading of Gantt
Post by: Marlene.Witsch on January 25, 2017, 02:21:30 PM
I got this issue with one of my projects were when I add a lot of tasks (ca. 5000) with context menu (6 Menu Items) the loading of the Gantt gets REALY slow. Talking of minutes of loading time here.

Do you maybe know a work around for this issue? Or maybe know what is happy why it takes so long to load?

I am thankful for any help.

Best regards,
Marlene
Title: Re: ContextMenu slowing down loading of Gantt
Post by: Rajagopal on January 27, 2017, 06:57:04 AM
Marlene,

Have you tried these performance optimization options as we recommend in the "FlexyGantt/FlexyGantt Basics/Performance Optimization Options" topic in UG topic?

Is this issue in Project Gantt or Flexy Gantt? Is your Gantt loads faster when you load it without ContextMenu?

Thanks,
- Raja.
Title: Re: ContextMenu slowing down loading of Gantt
Post by: Marlene.Witsch on January 27, 2017, 09:24:36 AM
Hi Raja,

It is FlexyGantt and no did not have a look there yet but I already found a way to make it much faster. :)

Instead of binding the ContextMenu on the bar, I checked for the ContextMenuOpening Event and added the ContextMenu then. :) Works like a charm. Got from around 2min loading time to 18sec.

However, thank you for your help will also have a look at the Performance Optimization Options to make it maybe even faster.

Regards,
Marlene