August 03, 2020, 09:02:41 PM

See more Support incidents in our old archived forum.

Recent Posts

Pages: 1 2 [3] 4 5 ... 10
21
WPF Gantt Package / Re: Drag Task over Working hours
« Last post by Rajagopal on June 12, 2020, 11:40:23 AM »
Francesco,

We are looking on this, will update you soon.

Thanks,
Raja.
22
WPF Gantt Package / Re: Drag Task over Working hours
« Last post by Francesco Fantoni on June 12, 2020, 11:01:33 AM »
I'd like to add that I have set SyncRowBackgrounds = true

Thanks
23
WPF Gantt Package / Drag Task over Working hours
« Last post by Francesco Fantoni on June 11, 2020, 07:05:23 PM »
Hi,
I need your help again, sorry  :(
Consider this sample https://we.tl/t-qnggcEovZw (I reuse a project from the last post, sorry).

and consider the following Event handler:
 void ShiftTracker_VerticalDragOver(object sender, EventArgs e)
        {
            Point dropCueLocation = ShiftTracker.Global.GetDropCueLocationIn(this.LayoutRoot);
            this.ShowDropCueAt(dropCueLocation);

            bool canDrop = false;
            if (ShiftTracker.Global.CurrentDropRow != null)
            {
                    canDrop = true;
                System.Diagnostics.Debug.WriteLine(ShiftTracker.Global.CurrentDropRow.ToString());
            }
            else
                System.Diagnostics.Debug.WriteLine("null!");

           
            if (canDrop)
                this.ShowCanDropCue();
            else
                this.ShowNoDropCue();
        }

It seems the ShiftTracker.Global.CurrentDropRow is always null if you drag over a working hour and not null over a non-working hour

I you try to move the task in another row CurrentDropRow is not null only over nonworking hours
 


There is maybe something wrong but I don't know what
Thanks for your support
Francesco


24
WPF Gantt Package / Re: FGWorkingHoursBar problem
« Last post by Francesco Fantoni on June 11, 2020, 03:41:54 PM »
Hi Raja,
your sample works fine!

Thanks!
Francesco
25
WPF Gantt Package / Re: FGWorkingHoursBar problem
« Last post by Rajagopal on May 29, 2020, 09:34:29 AM »
Francesco,

#2. We have created a reference sample and sent it in mail, please check it and let us know if you need further assistance.

Thanks,
Raja.
26
WPF Gantt Package / Re: FGWorkingHoursBar problem
« Last post by Rajagopal on May 21, 2020, 04:48:41 PM »
Francesco,
#1. Yes, it is for performance.

#2. We are creating a reference sample, will update you soon.

Thanks,
Raja
27
WPF Gantt Package / Re: FGWorkingHoursBar problem
« Last post by Francesco Fantoni on May 21, 2020, 08:35:36 AM »
Hi Raja,
#1 thanks for the suggestion.it works fine. According to the documentation:
"Default is true. When set, the bar widths in the GanttChart will be optimized such that the actual bar's width is not too wider than the chart view width. This helps improve the performance of the chart. When you use a horizontal gradient brush be aware of the rendered start and end times of the bar which can be got from GetBarRenderStartTime and GetBarRenderEndTime. "
Set it to false, is it just a matter of performance?

#2 I beg your pardon but I don't understand your suggestion: actually I use a custom provider scheduler but my question is the same with 8x5 too. I use the FlexyGantt as production load chart, so each resource for me  is a machine.
then each resource can have a different schedule and all tasks take resource schedule, and this is ok.
But if you suppose all resource use 8x5 schedule, I'd like FlexyGantt background doesn't show a gray box for all saturdays and sundays because this don't correspond to the resource schedule (8x5). Then my question if the saturdays and sundays gray box can be hidden.
I try to set FlexyGantt WoringSchedule to null but no results. I need to use a custom 24x7 provider?

Thanks very much
f
28
WPF Gantt Package / Re: FGWorkingHoursBar problem
« Last post by Rajagopal on May 21, 2020, 05:14:13 AM »
Hi Francesco,

#1 - You have to turn off the "ApplyBarWidthOptimization" value to make it render properly. Let us know if you have any trouble on this.

#2 - Do you need 8X5 schedule to the Gantt? We noticed the resource level schedules in your app. So, the tasks will take it's corresponding schedule. Are you comfortable to change the Gantt's schedule as 24X7(null)?


Thanks,
Raja
29
WPF Gantt Package / Re: FGWorkingHoursBar problem
« Last post by Francesco Fantoni on May 18, 2020, 01:04:44 PM »
Hi,
#1 thanks for your support.

#2. Yes for all Saturdays and Sundays

Thanks
30
WPF Gantt Package / Re: FGWorkingHoursBar problem
« Last post by Rajagopal on May 18, 2020, 11:57:14 AM »
Hi Francesco,

#1 - Thanks for the reference sample, we are looking on it. We will keep you updated.

#2 - Do you want to remove the grey color applied on all Saturdays and Sundays?


Thanks,
Raja
Pages: 1 2 [3] 4 5 ... 10