search envelope-o feed check
Home Unanswered Active Tags New Question

Active Questions

Impossible to show events from my database (resource calendar)

Answered: When displaying a resource calendar (viewType: "Resources"), it is necessary to specify the resource id for events using the resource property. This value needs to match the column id exactly (includ...

Task time selection may get wrong then How to reselect it ,by deleting before task time in UI. And how to save it in server and local storage as data.

Hey!! Thanks for kind help by providing this doc. I have to customize it for purpose of self learning. Hope forums gonna help me out for this. Recently ,I have doubt which I posted “Task time selecti...

Text missing on export time headers.

Answered: If you use onBeforeTimeHeaderRender to customize the headers, the Scheduler will use the value of args.header.html in the live instance in the browser and args.header.text during the export. Also, it...

npm repository is down

Answered: It should be working fine now. If there is any problem, just let me know.

Timeline event count using hours scale (Scheduler)

Answered: Yes, this is possible. The code from the Column Summary and Availability Chart tutorial uses the real cell size (args.cell.start and args.cell.end) to calculate the utilization (total number of event...

How I can modify resources? If I don’t need group?

Answered: If the events don’t display correctly, you should check the id of the resources (resources[].id) and the resource of events (event.list[].resource). Events are only displayed in a row if these value ...

Implementing a 'Break and Reschedule' Function in the Scheduler Component

Answered: This is possible. Just remember that it’s a bit more complex task and you will need to extend this code to cover edge cases and implement the server-side part. It works like this: The “Split” context...

Multiple background colors in event (Scheduler)

Answered: You can do this by inserting custom active areas into Scheduler events. The start and end of an active area can be specified using date/time values instead of pixels. That will let you insert custom ...

Scheduler - Disable Cells based on resource Availability

Answered: There is a tutorial that explain how to implement this: JavaScript Scheduler: Displaying Holidays It uses onBeforeCellRender event handler to disable individual cells. The resource-specific date rang...

Daypilot AllowMultirange doesn't work with right click and context Menu

Answered: Thanks for reporting the issue. I wasn't able to reproduce the problem but the additional check is now added in the latest sandbox build (2023.2.5594). Also, the right click behavior is fixed - it is...

Custom Event Styling in React Scheduler

Answered: You can use the onBeforeEventRender event handler to customize the events. A sample implementation could look like this: onBeforeEventRender: (args) => { if(args.data.status === "completed") { ...

How to change Group task background color?

Answered: The shape of the task group is created using :before and :after pseudo-elements. In the default theme it looks like this: .gantt_default_task_group .gantt_default_event_inner { position: absolut...

Scheduler Time Range Configuration

Answered: There are two ways to solve it: 1. You can define business hours using the businessBeginsHour and businessEndsHour properties and set showNonBusiness to false (see also hiding non-business hours): co...

Event Calendar, resource view: days on Y-axis

Answered: At this moment, the Calendar can only display hours on the vertical axis.

scroll 2 daypilot component in a single scroll event

Answered: You can synchronize two Schedulers using a native scroll event as demonstrated in this demo: https://javascript.daypilot.org/demo/scheduler/eventmovingtwoschedulers.html // scrollbar synchronization ...

Height for day and week calendar.

Answered: Please see the options here: https://doc.daypilot.org/calendar/height/

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 => { ...

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...
Previous Questions 501-520 of 5260 Next