Answered: The print() method prints the exported image using the browser print() function. There is no way to control how the printed page will look like using the browser API. It can only be set by the user i...
Answered: You can use allowDefaultContextMenu property to enabled the default context menu: https://api.daypilot.org/daypilot-scheduler-allowdefaultcontextmenu/
Answered: It looks like you might have overwritten the index.html file with one generated using the UI Builder (the generated index.html uses resources array with Resource 1 and Resource 2 defined). If you dow...
I'm trying to add a new calendar event from a UTC string coming from my server. How do I create an event from my UTC string? After I add the event it shows the event for 9:00pm when it should show 1:...
Answered: The cell duration adjustment is not supported in the open-source version at this moment: https://doc.daypilot.org/calendar/time-cell-duration/
I'm using daypilot on a ASP.NET Core but my model has a foreign key and I can't add a date for that reason, what can I do? or why I can't add a date, this is my code public class Reservacion { public...
Answered: The arrow element is marked with one of the following classes: .scheduler_default_link_arrow_left .scheduler_default_link_arrow_right .scheduler_default_link_arrow_down .scheduler_default_link_arrow_...
Answered: You'll need to switch to the Resources view and generate the column hierarchy manually. Please see more here: https://doc.daypilot.org/calendar/column-header-hierarchy/
Answered: The position of the next/previous buttons can't be changed. However, you can hide it using CSS and switch the dates manually using the select() method: https://api.daypilot.org/daypilot-navigator-sel...
Answered: You can show the week numbers in the first cell using onBeforeCellRender. Example for ISO week number (week starting on Monday): dp.onBeforeCellRender = function(args) { if (args.cell.start.getDayOfW...
Answered: It looks like you are using date/time string in a format that the Scheduler isn't able to parse. For a list of supported formats please see: https://api.daypilot.org/daypilot-date-constructor/
Answered: The events are defined using start/end (not using start and duration). When creating new events using the Scheduler with non-business days hidden the Scheduler will return the correct dates (taking t...
Answered: The latest sandbox build (2019.1.3540) supports args.cell.displayY in onBeforeCellRender and args.row.displayY in onBeforeRowHeaderRender that you can use to get the display Y position. No two adjace...
Answered: The context menu doesn't support an overlay that would block access to the background. If you want to block the background you can use the modal dialog instead: https://code.daypilot.org/81367/daypil...
Answered: This should be done automatically when the "row header with auto-fit" feature is enabled (it is enabled by default): https://doc.daypilot.org/scheduler/row-header-width-auto-fit/ Please let me know i...
Answered: Build 2019.1.3539 now lets you customize the appearance using *_selectionrectangle class ("scheduler_default_selectionrectangle" for the default theme). The default definition looks like this: .sched...
Answered: It looks like the problem might be the scrollTo/scrollX/scrollY properties in the scheduler config object. If you add them to the config they will be re-applied whenever the Scheduler detects a chang...
Answered: The toolTip is only displayed if a Bubble object ( https://api.daypilot.org/daypilot-scheduler-bubble/ ) is not specified. In the current DayPilot Pro version, the bubble is initialized using a new D...
Answered: Please make sure that you don't specify the [events] attribute in the template: <daypilot-scheduler [config]="config" #scheduler></daypilot-scheduler> If you specify the [events] attribute it will ov...
Answered: Hi Jens, The e.part object is an internal structure that shouldn't be used for calculations. The e.part.start/end properties hold start/end for rendering purposes only - it won't always correspond to...
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: To get the calculated start/end you can use visibleStart() and visibleEnd() methods: https://api.daypilot.org/daypilot-calendar-visiblestart/ https://api.daypilot.org/daypilot-calendar-visibleend/ Th...
Answered: This is my fix: jquery('.scheduler_default_scrollable').animate({ scrollLeft: jquery('.scheduler_default_separator').offset().left/2-100 }, 1000); Thanks!