addLink
Description
Fügt einen neuen Abhängigkeitslink hinzu
addLink: (link: any) => string | number
Parameters
link- (required) object - Das Link-Objekt
Returns
id- (string | number) - Die ID des Links
Example
var linkId = gantt.addLink({
id:1,
source:1,
target:2,
type:gantt.config.links.finish_to_start
});
Details
Diese Methode löst die Events onBeforeLinkAdd und onAfterLinkAdd aus.
Related API
Related Guides
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.