Zum Hauptinhalt springen

process_resource_assignments

Info

Diese Funktion ist nur in der PRO-Edition verfügbar.

Description

Aktiviert/deaktiviert das Parsen der Ressourcenzuweisungen

process_resource_assignments: boolean

Example

gantt.config.process_resource_assignments = false;

Default value: true

Details

When you assign resources to the specific time of a task, the functionality requires the process_resource_assignments property to be enabled. Dies hängt damit zusammen, dass die Eigenschaft das Parsen der Werte aus gantt.config.resource_property von Aufgaben in die internen Ressourcenzuweisungsobjekte ermöglicht.

As a result, you are be able to manipulate the resource assignments via the DataStore object, for instance to get the necessary assignment object or update it. Auf diese Weise können Sie die Ressourcenzuweisungen über das DataStore-Objekt manipulieren, z. B. um das notwendige Zuweisungsobjekt abzurufen oder es zu aktualisieren.

But if you only need to assign resources to the tasks without specifying time or duration of the assignment, you can disable parsing of the assignments using the config:

gantt.config.process_resource_assignments = false;

Change log

  • hinzugefügt in v7.1
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.