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

Questions Tagged

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

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

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

Week View start date not correct in some timezones

Answered: The date calculations shouldn't be affected by the system timezone because all internal calculations are done using the UTC base of the dates. It is however affected by the format you use to specify ...

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

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

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

Angular 8 ivy Error "Could not be resolved to an NgModule class"

Answered: Hi Gert, The DayPilotModule class is decorated with @NgModule (the decorators are not visible in the daypilot-angular.min.d.ts file - they get compiled to daypilot-angular.min.metadata.json). DayPilo...

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.

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

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({ ... }); // .....

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

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

Moving "Endless" events : How to keep up the e.end = NULL ?

Answered: The Scheduler requires both the start and end dates of the event to be set. An empty value will be replaced by new DayPilot.Date() instance which represents the current time. In your case, it might b...

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"; } };

Adding A checkbox

Answered: You can customize the event content using BeforeEventRender event handler (you can use it to customize the HTML, CSS class and other properties): https://doc.daypilot.org/scheduler/event-customizatio...

Please , confirm if the following link comes under lite or pro version

Answered: This is the link to the DayPilot Pro demo: https://javascript.daypilot.org/demo/ And here you can find the DayPilot Lite demo: https://javascript.daypilot.org/demo/lite/ Your link points to the Pro v...

Graphical Plan Display Issue

Answered: This is by design. Each event will be displayed as close to the top of the row as possible. If you want to make sure that the blue events are displayed at the same vertical position you'll need to ad...

Sorting the Column Headers in Javascript

Answered: The new implementation is now available. Please see the following tutorial that shows how to sort the Scheduler rows by column data: https://code.daypilot.org/78411/javascript-scheduler-row-sorting-t...

EndDateSpec equivalent for Month control?

Hi, I've just discovered the incredibly useful 'EndDateSpec' setting that allow dates to appear inclusive of the end date for the Scheduler. Is there an equivalent setting for the Month control?

NG7 - scheduler (zoom example): undefined "args" in .config ?!

Answered: It looks like if you set startDate using a string (not DayPilot.Date) in the config you may receive it in args.date unconverted. It's fixed now in the latest sandbox build (2019.2.3893). In previous ...

Dynamically update Navigator

Answered: I'm not sure if this is what you are looking for but the Navigator supports highlighting busy days (days with events) out of the box. You can supply the an array with events in the same format that i...

Cell background color change

Answered: You can control the grid cell background color using BeforeCellRender event: https://doc.daypilot.org/scheduler/cell-customization/ However, for displaying dynamic data it might be better to use even...

Where to put Custom CSS files

Answered: When styling the Navigator (or any other component) there are two options: 1. Use a custom theme. You can create a theme using the online theme designer (https://themes.daypilot.org/) or you can buil...

How to use password for event creation ,resizing and moving

Answered: The preventDefault() method needs to be called in the main context (before the onEventResize handler exits). You are calling it in the callback method which is called later and it has no effect. The ...

Calendar - List of all Events

Answered: The latest sandbox build (2019.2.3891) now supports DayPilot.Calendar.events.forRange(start, end) method. It will return events from the specified range. var selectedEvents = dp.events.forRange("20...

Using Daypilot Calendar with RequireJS

Hi, We use RequireJS for bundling so we'd like to know how to go about doing this specifically for the calendar. We're using the lite daypilot-calendar-src.js source file, which looks like it makes u...

asynchronous scheduler binding and Show Loading message.

Hi Team, I am binding scheduler asynchronously but not showing data in scheduler . but when filter scheduler data is displayed. Can you please suggest or please share sample code for asynchronous sch...

Navigator startDate

Answered: In order to show the previous and current months you can use the following config: var nav = new DayPilot.Navigator("nav"); nav.startDate = DayPilot.Date.today().addMonths(-1); nav.showMonths = 2...
Previous Questions 1381-1410 of 5161 Next