Our state of the art Gantt chart


Post by gaurav.tyagi »

Hello,

I am using bryntum ResourceUtilization for my project needs. Want to customize the logic used to compute the allocations.

I found a related thread and have been trying to follow it -> viewtopic.php?t=15845

I am able to extend ResourceUtilization class and override the methods. But I'm unable to override a method 'calculateAllocation ' which is from a mixin class 'ResourceAllocationInfo'.

I'm want to subclass ResourceAllocationInfo and override its calculateAllocation method respectively.

ResourceAllocationInfo is present in lib/Engine/quark/model/scheduler_pro/SchedulerProResourceMixin.ts.

How do I override a method from this mixin class in my project ?

Any help will be appreciated.
Thanks.


Post by alex.l »

All the best,
Alex


Post by gaurav.tyagi »

Hi,
My main concern is, where do I import 'ResourceAllocationInfo' from?
It is not a part of "@bryntum/gantt".

Even if I use ts-ignore.
I'm getting an error at runtime -> 'ResourceAllocationInfo is not defined'.

Thanks.


Post Reply