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; na...
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...
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...
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...
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...
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...
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 ...
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
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...
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...
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...
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=...
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.
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...
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...
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: ...
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...
Answered: To switch the view, you just need to change the viewType value and call update(), like this: Switch to day view: dp.viewType = "Day"; dp.update(); Switch to week view: dp.viewType = "Week"; dp.update...
Answered: You can override the CSS for the leaf node icon. For the default theme, the CSS class is called "scheduler_default_tree_image_no_children". See also: https://doc.daypilot.org/scheduler/css-classes/ Y...
Answered: It's possible to activate TextBox and Label controls using DayPilot.Scheduler.makeDraggable(). You just need to target the corresponding DOM elements using JavaScript. For example, the <asp:TextBox> ...
Answered: The latest sandbox build (2019.2.3812) now supports rowHeaderColumnsResizable property which lets you disable the row header column resizing: dp.rowHeaderColumnsResizable = true; When the resizing is...
Answered: You can have custom fields in the db table. In ASP.NET, you can load them using DataTagFields property: https://doc.daypilot.org/calendar/event-loading/ https://doc.daypilot.org/month/event-loading/ ...
Answered: You can apply custom sorting rules to overlapping events. Please see the example in the documentation: https://doc.daypilot.org/scheduler/event-sorting/ Let me know if this is not what you are lookin...
Answered: Please take a look at this demo: https://aspnet.daypilot.org/demo/Scheduler/ExternalDragDrop.aspx The source code of this demo page is included in the download package. You can use it as a starting p...
Answered: Yes, you can use scale: "Week" which uses a week as a cell size: https://javascript.daypilot.org/sandbox/scheduler/scaleweeks.html The week start is determined using the current locale ( https://api....
Answered: Hi Christian, There are two options: 1. You can cancel the default action in onEventMove and create and add the event object manually using a deep copy of the data object: dp.onEventMove = function(a...