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

Active Questions

EventClickHandling with JavaScript

Answered: I solved the Problem. The script was saved in the cache, so I just had to delete it. Now it works fine.

Add popover on click of event on schedule calendar (JS / Angular 2+)

Answered: Please see the following tutorial that explains how to display a bubble with custom content (defined as static HTML, dynamic HTML loaded from the server, and as an Angular component): https://code.da...

How to export excel from Scheduler

Answered: Unfortunately, export to Excel is not supported at the moment.

Event Links show bubbleHTML on hoverOver on arrow part

Answered: Unfortunately, the bubble for event links is not implemented at the moment.

Database Connection

Answered: I recommend exploring the downloadable project, it's a complete implementation of the sample application, including database connection.

data changed - force rerender of event

Answered: The events.update() method is the right tool. It only reloads the event in the UI. It doesn't send anything to the server. In the server-based versions (ASP.NET MVC, ASP.NET WebForms, Java), it's pos...

change tag

Answered: You can find the event using events.find() method: https://api.daypilot.org/daypilot-scheduler-events-find/ The original data object is accessible as e.data, so the tags can be accessed as e.data.tag...

How to show popover on click of event in daypilot calendar

Answered: DayPilot includes a built-in callout named "bubble". See more here: https://doc.daypilot.org/calendar/event-bubble/ You can map it to event click action by setting eventClickHandling config property ...

Submitting a Form with event data

Answered: Normally, you only use forms when editing details of a single event using a modal dialog or in a standalone page. When working with the Scheduler, every change is usually submitted immediately using ...

Event moving customization when multi-moving

Answered: Unfortunately, customization of the additional events that are moved during multi-moving is not possible at the moment. It's in the queue but I'm not able to provide the availability date now.

Limit Event Moving calendar event

Answered: You can mark the cells in the past as "disabled" which will prevent drag and drop operations: https://doc.daypilot.org/calendar/disabled-cells/ See also the following tutorial (JavaScript): https://c...

Drag&Drop with scrolling not working on tablet in scheduler

On a tablet (both iPad & android), when you drag an event to the bottom or top of the scheduler, the scheduler does not scroll up or down. This is working as expected on desktop but not on mobile. Th...

Show some text in the dates where event is not listed

Answered: Since version 2019.3.3907 you can use this: dp.onBeforeCellRender = function(args) { if (args.cell.events().length === 0) { args.cell.html = "No event here"; } };

Event double click

Answered: For the double click you should use: eventDoubleClickHandling: "Enabled", onEventDoubleClick: function(args) { // open modal here, event details are in args.e } The context menu item should ...

Using font-awesome icons in the context menu

Answered: Yes, it's possible. Just use the "icon" property to specify the CSS classes: var dp = new DayPilot.Scheduler("dp", { // ... contextMenu: new DayPilot.Menu({ items: [ { text: "User ...

Dynamic Right click menu content

Answered: There are two options: 1. You can set the context menu using "contextMenu" property in onBeforeEventRender: var menu1 = new DayPilot.Menu({ ... }); var menu2 = new DayPilot.Menu({ ... }); // .....

PDF Export Tutorial missing definition of SetDataSourceAndBind and SetExportProperties

Answered: The tutorial text is now updated to include these methods as well: https://code.daypilot.org/69614/scheduler-pdf-export-asp-net-c-vb-sql-server You can also find it in the downloadable project - that...

Null Exception on DataItem when setting StartDate

Answered: Hi Scott, The e.DataItem property is only initialized if you call DataBind(). Calling DataBind() is not necessary during callbacks/postbacks because the events are reloaded from the ViewState. Howeve...

How to drop event on external control

Answered: Unfortunately, a custom external drop target is not supported at the moment. However, it is possible to drag events between to Scheduler instances. It would be possible to create a simplified instanc...

How to change opacity of the backcolor of the event?

Answered: You can add a custom CSS class to the event using cssClass property of the data object: // e is the DayPilot.Event object // dp is the DayPilot.Scheduler object e.data.cssClass = "semi-transparen...
Previous Questions 1421-1440 of 5202 Next