Our pure JavaScript Scheduler component


Post by rowanl3 »

I'm trying to figure out how to call https://bryntum.com/products/gantt/docs/api/Scheduler/feature/Dependencies#function-refresh it seems that the dependencies themselves are of type SchedulerDependencyModel or DependcyModelConfig

I can do something like
x = new Dependencies()
x.refresh()
but as far as I can tell that accomplishes nothing as these are not the dependencies from the scheduler. Can anyone provide a code snippet where this function is used (ideally on chart scroll) thanks!


Post by rundrawers »

Make sure to import any libraries or modules that contain the Dependencies class into your code. Create an object of the class to initiate the class, if it is your own.
geometry dash lite
You can use the refresh() function on the object after instantiating the class.


Post by tasnim »

Hi,

You should call it by that feature

scheduler.features.dependencies.refresh();

Then it should work.

Best of luck :),
Tasnim


Post by rundrawers »

Thanks for the answer. I didn't pay attention to this.


Post Reply