Thanks for the answer but that's not quite what I'm looking for.
I'm looking for a way to toggle the entire link connector on and off. Our DB has 1000 + events and each event is linked to between 4 and 10 other events which makes for a spaghetti of link connectors.
I'm looking for a way to toggle the these links / connectors on as required, off as default.
Is this possible?
Answer posted by Dan Letecky [DayPilot] 3 years ago.
I see.
1. You can simply add/remove the links from the Scheduler as needed, like this:
2. Or you can mark the links with custom CSS class (or classes) using "cssClass" property (see also https://api.daypilot.org/daypilot-link-data/) and then show/hide them using CSS.
The first option will probably be more elegant and efficient.
Comment posted by Steve Lee 3 years ago.
Much appreciated Dan. I'll give it a whirl.
Comment posted by Dan Letecky [DayPilot] 3 years ago.
Update:
In the latest sandbox build (2023.2.5579), the `update({links})` call is now optimized. If you only include `links` in the `options` parameter of the `update()` method it will perform a quick update of links only (instead of a full reload like in previous versions).