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

Questions Tagged

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.

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

Angular Scheduler TimeHeader Display Week Wording

Answered: You can override the text in the time header using onBeforeTimeHeaderRender event handler: https://doc.daypilot.org/scheduler/time-header-customization/

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

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

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

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

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.

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

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

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 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: ...

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

Parser error using DayPilot PRO

Answered: It looks like the reference requires a specific dll version. You should try to remove the reference to DayPilot.dll and re-add it. Also, don't forget to rebuild the solution.

Angular Scheduler Event Link Delete ContentMenu

Answered: The SchedulerConfig.contextMenuLink property is now supported in the latest version: https://javascript.daypilot.org/daypilot-pro-for-javascript-2019-4-4153/

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

Line of Linked Events on Odd numbered rows are hidden*don't show

Answered: It looks like it might be caused by a scaled view (e.g. browser zoom level not set to 100%). You can try to reset the browser zoom level or increase the link width.

eventDeleteHandling does not remove event

Answered: Looks like I continue to find my own solutions. :) That's a good thing. Here's the missing code that I found to assist me. var e = dp.events.find(args.e.id()); dp.events.remove(e);

Customer Event Add Modal

Answered: When the users selects a time range the Scheduler fires the onTimeRangeSelected event: onTimeRangeSelected: args => { this.create.show(args); } You can modify the event handler to...

Update to Schedule after Move in Javascript

Answered: I found the answer. using event.find

How to disable moving certain events

Answered: It looks like you are using the ASP.NET syntax. In JavaScript, the property name is "moveDisabled". dp.onBeforeEventRender = function(args) { args.data.moveDisabled = true; }; See also: https...

Can't refresh daypilotscheduler

Answered: If you need to update two controls at once in ASP.NET WebForms, there are two options: 1. You can place both controls in an UpdatePanel and use PostBack event handling. In the event handler, you will...

Angular DayPilot.Scheduler Object Missing on Gantt

Answered: Accessing the internal "scheduler" object is a fallback solution and that's why the scheduler property is not included in the TypeScript definitions. You'll be able to access it if you cast the sched...

How to get full JSON from Gantt Chart

Answered: The current task tree state is available in tasks.list: https://api.daypilot.org/daypilot-gantt-tasks-list/ Whenever a task is changed on the client side this array is updated so it always has up-to-...

How to implement a "Previous" and "Next" buttons

Answered: You can take a look at the main MVC Scheduler demo: https://mvc.daypilot.org/demo/Scheduler/ It includes Next/Previous buttons which use commandCallBack() method to invoke Command event on the server...

onBeforeRowHeaderExport never called

Answered: This was a regression that should be fixed now in the latest build (2019.4.4124+). Please let me know if the problem persists.

Regarding Date

Answered: Please take a look at this tutorial which shows how to let users change the visible range: https://code.daypilot.org/27338/angular-scheduler-date-navigation

Change the backColor based upon event value

Answered: Yes, you can do that using onBeforeEventRender event handler. Please take a look at the examples in the docs (the following link is for the Scheduler): https://doc.daypilot.org/scheduler/event-custom...

Weird Display of Navigator and Calender

Answered: The values should be numbers, not strings: nav.titleHeight = 20; nav.dayHeaderHeight = 20; // and dp.headerHeight = 20; dp.allDayEventHeight = 20; Let me know if it didn't help.
Previous Questions 1261-1290 of 5194 Next