Our pure JavaScript Scheduler component


Post by tomerPlanit »

Hi bryntum team,
I work with scheduler v3.0 with angular.
I am trying to init the scheduler events dependencies .
 this.schedulerConfig.dependencies = [
        {
          id: '1',
          from: 692,
          to: 673,
          type: 1,
        }
    ];
    this.schedulerConfig.dependenciesFeatures = true;
    
    this.schedulerConfig.dependencyEdit = {
      showLagField: false
    };
    
[dependenciesFeature]="config.dependenciesFeatures"
[dependencyEditFeature]="config.dependencyEdit"
[dependencyStore]="config.dependencies"
I checked this dependency appear in the scheduler dependencyStore but i can't see this in the chart

Image
Attachments
scheduler.png
scheduler.png (312.89 KiB) Viewed 1226 times

Post by mats »

Typo:
    this.schedulerConfig.dependenciesFeatures = true;
Try:
dependenciesFeature

Post by tomerPlanit »

this.schedulerConfig.dependenciesFeatures = true;
is my variable that I put it in:
[dependenciesFeature]="config.dependenciesFeatures"
you can see in the img that the flag is true
Image
Attachments
scheduler.png
scheduler.png (184.84 KiB) Viewed 1222 times

Post by mats »

Ok please upload a full test case so we can run it and see what's wrong.

Post by tomerPlanit »

You want the full project if yes where can i upload or only the relevant code.

Post by mats »

A minimum example - look at our basic examples to see what we mean.

Post by tomerPlanit »

Thanks i find way to add the dependencies by the scheduler dependencyStore after the component init

Post Reply