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

Questions Tagged how-to

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

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

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

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

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

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

Scheduler Grid HTML File

Answered: The Scheduler grid can be customized using the API, such as onBeforeCellRender event handler (see https://doc.daypilot.org/scheduler/cell-customization/). The full version includes unminified source ...

scroll wheel vs. touch

Answered: There was an issue with the row headers. There was an extra space below the rows that allowed scrolling to an invalid position. This extra space is only required on desktop to make space for the scro...

Drag and Drop an item from external windows forms to DayPilot Scheduler

Answered: Hi Vane, It's now possible to drag external items (including files from desktop and items from other applications) to the Scheduler cells using the native HTML5 drag and drop API. Please see the foll...

the status and the user's name in the Edit appointment slot doesn't appear!

please i need help, the modal 'Edit appointment slot' works well just the status and the name and the button 'save' :/ i dunno why? and also i wanna ask about the documentation they said: "As soon as...

How-To add some color to Calendar....

FYI- The Text for the Calendar control takes HTML... So, if you want some color to differentiate you can do something like... SELECT tblStudyTasks.study_task_id, task_start, task_end, CASE WHEN COUNT...

Navigator vs. Calendar week shown in week-view

Answered: Mike, Thanks for the update! After checking the implementation it turned out that the Calendar used hardcoded Monday as the first day of week instead of reading the locale. It should be fixed now in ...

Event filtering and row filtering

Hi Team, Can you help me in achieving event filtering and row filtering in asp.net webform scheduler? Please share the sample code or relevant information. thanks

Navigator past months / block future dates

Answered: Yes, this is possible. You can hook the onTimeRangeSelect event handler and forbid navigating to the selected dates. Please see the following tutorial: https://code.daypilot.org/88013/javascript-cale...

How to keep original dates when moving events

Answered: You can call args.preventDefault() in onEventMove (not onEventMoved) to cancel the moving action: https://api.daypilot.org/daypilot-scheduler-oneventmove/ It's also possible to use the built-in overl...

How do I deploy daypilot light to my server?

Answered: Never mind. Just copied the dll to the bin folder for the website and voila it works.

Load multiple events in a resource without changing the resource width

Answered: Unfortunately, this is not possible. You can use custom event height but it won't affect the position of other events. Based on the overlap ordering rules, the events are arranged into "lines" inside...

How to load events only from a specific userID

Answered: PHP is not my primary language, but maybe you can try adding the userId as a parameter to the backend url. So dp.events.load("backend_events.php"); becomes: dp.events.load("backend_events.php?userid=...

Insert not working

Answered: I'd recommend checking the server response (backend_events_create.php call) using browser developer tools. It may include additional information about a server-side error.

Logical overnight scheduling

Answered: Hi Paul, This feature is not intended as a workaround for displaying long events. It's designed for views where the day boundaries are shifted - e.g. tv listings. The calendar will display events spa...

Scrollbars

Answered: There are two ways to hide the scrollbar: * adjust the content (make it smaller) * set an increased height/width manually By default, the height is set automatically according to the contents. The au...

Context Menu change position page scrolling up and down

Answered: The context menu is created using a <div> element that is placed directly under document.body as the last child. Its position is specified using inline styles ("position: absolute; top: ...px; left: ...

unselect a selected event on event click

Answered: The default behavior corresponds to the typical file manager behavior - clicking an event selects it, clicking another event changes the selection to the new event, Ctrl+click is required to unselect...

when click on even

when click on event how do I load event detail in pop up, now empty pop up shows up.
Previous Questions 961-990 of 3070 Next