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

Active Questions

Updating the Navigator with External call to event data

Answered: The Navigator doesn't support events.load() at the moment but you can load the events using update(): var data = [ ... ] ; nav.update({events: data}); Usually you'll want to reuse the calendar d...

How to hide two additional columns in gantt Chart

Answered: This can't be done using the built-in icon but you can implement your own logic and change the columns array (https://api.daypilot.org/daypilot-gantt-columns/) as needed. After calling update() the c...

Scheduler export with html tags

Answered: If you define the content using active areas you will get better support during the export and you will be able to include images. See an example here: https://doc.daypilot.org/calendar/exact-event-d...

performance index

Answered: You should take a look at the hints provided by the audit tool. The audit breakdown has much higher value than the index itself. You will see what affects the performance of your page and can evaluat...

Scheduler endDate property

Answered: You can calculate the number of days between two days like this: var days = new DayPilot.Duration("2020-01-01", "2020-01-05").days(); See also: https://api.daypilot.org/daypilot-duration-days/ ht...

How can I fetch value of new column from database and display it on the calendar?

Answered: You can use onBeforeEventRender event handler to modify the event HTML (args.data.html) using the staff column (args.data.staff): https://doc.daypilot.org/calendar/event-customization/ You can also m...

Scheduler Event Link

Answered: It's not possible to change the link position but you can use custom link styles (colors, etc.). Also, the full link will be highlighted on hover so you'll be able to see it in full.

How to create a context menu submenu in MVC

Answered: The submenus are now supported in the MVC version as well in the latest sandbox build (2019.4.6005): https://mvc.daypilot.org/sandbox/ You can specify the submenu items using Items property of MenuIt...

Adding, deleting events does not change the Navigator highlighting

Answered: The navigator can be refreshed by calling update(): https://api.daypilot.org/daypilot-navigator-update/ If the Navigator doesn't share the data array (https://api.daypilot.org/daypilot-navigator-even...

Angular 8 Scheduler Error: The placeholder element not found when refresh

Answered: Please see more here: https://forums.daypilot.org/question/4269/daypilote-angular-2-error-daypilot-scheduler-the-placeholde

When someone clicks on active area, how do I stop the default event from firing?

Answered: That did not do what I was looking for, however, I looked at the docs at the link you sent and adding the following code to the area onClick works: args.originalEvent.preventDefault(); args.originalE...

How to Hide Daypilot Gantt Chart none business hours

Answered: You can create your own timeline using "timeline" property (set scale to "Manual"). Or you can use the showNonBusiness property of the underlying "scheduler" object of the DayPilot.Gantt class.

Show current text when Inline Event Editing

Answered: The text area will use the "text" value of the event data object. If you only use "html" to set the event content you'll also need to add "text" property to the data object. See also: https://api.day...

Uncaught Error: Event data item must specify 'start' property

Answered: You need to check the Scheduler event data (dp.events.list). The data items must use the structure described here: https://api.daypilot.org/daypilot-event-data/ This error suggests that the data item...

Calendar - Make delete icon stay on event

Answered: If you disable the built-in delete icon using eventDeleteHandling="Disabled" you will be able to add a custom icon using active areas. See also an example in the docs (https://doc.daypilot.org/schedu...

Adding a new event with client-side immediate update

Answered: After you create the new event in newcalevent.php, you need to send the event details (including the id) back to the main page using DayPilot.Modal.close(): var eventdata = { id: ..., start: ...

Properties not functioning in add event

Answered: I've tested it by adding this to the main scheduler demo page (https://javascript.daypilot.org/demo/scheduler/) and it seems to work fine: dp.onTimeRangeSelected = function (args) { dp...

IE Error when clicking on/resizing an event using Warmup/Cool down Areas

Answered: This is a DayPilot bug. It has been fixed now in the latest sandbox build (2019.4.4159): https://javascript.daypilot.org/sandbox/ Please let me know if the problem persists.

Multiple resources header

Answered: The Calendar can display a hierarchy of columns, just use the "children" property to specify child columns. You can also set the date for each column using the "start" property. See also: https://doc...

Angular Scheduler Zoom : 'name' does not exist in type 'ZoomLevel

Answered: This should be fixed now in the latest sandbox build (2019.4.4154). The tutorial project uses an untyped config object so you can use this approach as a workaround: config: any = { // ... }
Previous Questions 1121-1140 of 5056 Next