Zum Hauptinhalt springen

deleteLink

Description​

Löscht den angegebenen Abhängigkeitslink

deleteLink: (id: string | number) => void

Parameters​

  • id - (erforderlich) string | number - die ID des Abhängigkeitslinks

Example​

gantt.addLink({
id:1,
source:1,
target:2,
type:1
});

gantt.deleteLink(1); /*!*/

Details​

Die Methode ruft die Ereignisse onBeforeLinkDelete und onAfterLinkDelete auf.

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.