Licence
Answered: The license is perpetual. For details, please see the Maintenance Subscription Terms: https://www.daypilot.org/legal/maintenance-subscription/
Conditional display of Active Areas
Answered: Yes, this is possible. You can add active areas using onBeforeEventRender where you can check if a specific property exists in the source data object (args.data):
onBeforeEventRender: args => {
...
How to change Group task background color?
Hello, I am using css modules in my project, so not able to use simple CSS. I was trying to change the color of group from blue to grey. By cssClass property, the whole box background changes to grey...
Separators above resources
Answered: This issue should be fixed now in the latest sandbox build (2023.2.5584): https://release.daypilot.org/changes/js/ Please let me know if the problem persists.
Db connection location
Answered: The database connection is handled by your application (DayPilot doesn't connect to the DB directly). Typically, the connection string is stored in web.config (in ASP.NET applications). Note that the...
Writing current date and time to DB from a context menu item
Answered: Something like this could work (you will need to adjust it for your needs):
async function clockOn() {
const modal = await DayPilot.Modal.confirm("Are you sure you want to clock onto this job?...
Link Connector Arrows
Answered: I see. 1. You can simply add/remove the links from the Scheduler as needed, like this:
const linksToBeDisplayed = [ /* ... */ ];
dp.update({links: linksToBeDisplayed});
2. Or you can mark the li...
Adjusting event height leads to excessive empty space (Month)
Answered: So simple solution: It's not:
eventHeight: "50",
it's:
eventHeight: 50,
How can I change the name of the event groups?
Answered: You can set custom HTML displayed by the group using onBeforeGroupRender event: https://api.daypilot.org/daypilot-scheduler-onbeforegrouprender/
onBeforeGroupRender: args => {
args.group.html = ...
Parent Row
Answered: Steve, Sorry for the confusion! You can detect parent rows using `args.cell.isParent`:
dp.onBeforeCellRender = function (args) {
if (args.cell.isParent) {
args.cell.backColor = "#ccc"...
List of all questions.