Answered: Hi Otto, The groupBy: "Cell" option sets the time header cell width to match grid cells. If you want to increase the grid cell width you can use "cellWidth" property: https://api.daypilot.org/daypilo...
Answered: By default, the Scheduler is rendered inside a div (the placeholder div which you specify using the id parameter of the constructor) which fills the available width (display: block). What you see mig...
Answered: This is my fix: jquery('.scheduler_default_scrollable').animate({ scrollLeft: jquery('.scheduler_default_separator').offset().left/2-100 }, 1000); Thanks!
Answered: You can hide the icons using treeImageWidth and treeImageHeight properties: dp.treeImageWidth = 0; dp.treeImageHeight = 0; See also: https://api.daypilot.org/daypilot-scheduler-treeimageheight/ https...
Answered: When using HeightSpec="Parent100Pct", it's necessary to set the parent height explicitly so the Scheduler can fill it. This can be done by setting its "height" CSS style or using "position:absolute" ...
Answered: The time range selection shadow (selection indicator) is always rendered in the layer below events. To make sure it's visible you can specify rowMarginBottom to add some extra space at the bottom of ...
Answered: Hello, I found a solution here in the forum and helpfiles. Thank you and best regards, Otto dp.onBeforeEventRender = function(args) { if (args.data.tags && args.data.tags.type === "important"){ args....
Answered: There is an onEventClick event handler which you can use to call a server-side endpoint using AJAX (to make the change persistent). You can also change the event color using DayPilot.Scheduler.events...
Answered: The text wrapping is disabled by default - you can enable it using this property: https://api.daypilot.org/daypilot-scheduler-eventtextwrappingenabled/
Answered: Hi Otto, You can create DayPilot.Date object from an ISO string using a constructor: var date = new DayPilot.Date("2019-05-04T12:00:00"); // "2019-05-04 12:00:00" works as well See also: https://api....
Hello. I‘ve seen, that it is possible to change the name of a resource/row inline. Is it also possible to do this outside of Daypilot with an external formular? Since now I didn’t found a way to do t...
Answered: The bubble text/HTML needs to be specified using "bubbleHtml" property of the event data object: https://doc.daypilot.org/scheduler/event-bubble/ If the "bubbleHtml" property is not part of the serve...
Answered: It's possible to implement custom rules using onEventMoving, onEventResizing and onTimeRangeSelecting events: https://api.daypilot.org/daypilot-scheduler-oneventmoving/ https://api.daypilot.org/daypi...
Answered: > 1) Horizontal line only visible in the scheduler control You can customize the CSS theme generated using the theme designer ( https://themes.daypilot.org ) and clear the style for the vertical line...
Answered: The grid lines are specified using the CSS theme, using "*_matrix_horizontal_line" and "*_matrix_vertical_line" CSS classes. Please see also: https://doc.daypilot.org/scheduler/css-classes/
I am using the BeforeCellRenderer event to modify certain cell's background color via DayPilot.Web.Ui.Events.BeforeCellRenderEventArgs which works as expected. the problem as soon as an event updates...
Answered: Fortunately, I found a workaround by using these JS events: dpc.onEventMove = function (e, newStart, newEnd) { eventChange(e, newStart, newEnd); }; dpc.onEventResize = function (e, newStart, newEnd) ...
I have project for work orders on laravel I like to use scheduler of daypilot. But lmodal.showUrl and loadResources() did not work. How I can use. Please let me know samples.
Answered: Hi Aliaa, Sorry for the delay. There are actually two event handlers that let you customize the row headers: 1. The onBeforeResHeaderRender is a legacy event which is only fired when the rows are loa...
Answered: In PHP, you can modify the backend scripts (backend_events.php, backend_create.php) to work with your database. The DB connection properties can be found in _db.php. The MVC version defines the data ...
Answered: Please see the following tutorial for a working example (Scheduler with heightSpec set to "Parent100Pct"): https://code.daypilot.org/75104/angular-scheduler-full-screen-layout
Answered: The modal dialog can show any HTML page using showUrl() method. You can create a standard page with the required fields and display it using showUrl(). You can pass the form data back to the calendar...
Answered: Please see the following sample project that shows how to implement a calendar with day/week/month views: https://code.daypilot.org/30451/angular-calendar-day-week-month-views
Answered: already found the solution need to change $morning_shift_starts = 9; $morning_shift_ends = 13; $afternoon_shift_starts = 14; $afternoon_shift_ends = 18; in the backend_create.php thankyou anyway