Answered: In the latest version (2020.4.4807), the horizontal lines separating frozen rows from the main grid are now marked with special CSS classes (*_divider_horizontal_frozen_top and *_divider_horizontal_f...
Answered: You can override this text using onBeforeTaskRender event, by calling args.data.box.htmlRight = ""; there. See also: https://api.daypilot.org/daypilot-gantt-onbeforetaskrender/
Answered: As far as I can see, there is no .start property used in the HTML template in the tutorial. I recommend using the attached project as a reference - it runs fine without any errors.
Answered: The floating events are enabled by default. It works as follows: 1. Events that start before startDate will have *_event_continueleft class. This doesn't change with scrolling. 2. The float div (mark...
Answered: This issue should be fixed now in the latest sandbox build (2020.4.4805). Could you please give it a try and let me know if the problem persists? https://javascript.daypilot.org/sandbox/
Answered: This can't be done automatically but you can calculate the cellWidth value based on the screen size (window.innerWidth) before displaying the Scheduler. You need to take into account the width of oth...
Answered: It looks like you are missing "configMonth" change in your method: currentDate(date: DayPilot.Date): void { this.configDay.startDate = date; this.configWeek.startDate = date; this.configMonth.startDa...
Answered: In DayPilot Pro for JavaScript, you can do this using onTimeRangeSelecting event handler: https://api.daypilot.org/daypilot-calendar-ontimerangeselecting/ Unfortunately, it's not available in the Lit...
Answered: The TypeScript declarations are now included in the latest sandbox build (2020.4.4792) of the Vue package (daypilot-pro-vue). Please let me know if there is any problem.
Answered: You can add a special row frozen to the top of the grid: https://doc.daypilot.org/scheduler/frozen-rows/ You'd have to play with its properties and styling a bit. E.g. you can set custom height using...
Answered: Do you use the DayPilot.Bubble object to display the tooltip? The Scheduler doesn't use any z-index but you might want to check its parent elements. The bubble is displayed using a <div> that is inse...
Answered: The first condition is only true for the first cell in a day (which start at 00:00). You need to compare the date part instead: ( args.cell.start.getDatePart() === new DayPilot.Date("2020-12-02").get...
Answered: You can add custom row header columns using columns property: https://doc.daypilot.org/gantt/columns/ The context menu can be added using contextMenuRow property: https://api.daypilot.org/daypilot-ga...
Answered: The tutorial is now updated and it will keep the duration of both events after they are swapped: var targetDuration = targetEvent.duration(); targetEvent.data.start = sourceEvent.data.start; targetEv...
Answered: 1. The default locale ("en-us") defines weekStart: 0 (i.e. Sunday) but the weekNumberISO() method only works for weekStart: 1 (Monday). You'll need to override it in the config: config: DayPilot.Sche...
Answered: Unfortunately, I'm not able to reproduce the problem using the sample project. Please note that duplicate IDs are not allowed. Every event that you add to the Scheduler needs to have a unique ID ("id...
Answered: You need to change the event data object and call dp.events.update(data); to update the view. Depending on how much you want to encapsulate the component, you can either pass DayPilot.Scheduler insta...
Answered: The primary purpose of events.find() is to find an event by ID. It searches events.list and if you need to filter the event data I recommend accessing the data store directly: let events = dp.events....
Answered: We don't officially support Ionic. It may or may not work. Ionic is quietly intercepting events and doing some weird things, especially in the early versions. I recommend trying it with the latest Io...
Answered: The args.newText value is read-only and you can change the text by canceling the default event and submitting the adjusted value: dp.onEventEdit = function(args) { args.preventDefault(); args.e.data....
Answered: The latest sandbox build (2020.4.4729) lets now includes an experimental onAfterEventEditRender event handler that lets you access the editing <textarea> element using args.element. You can use it to...
Answered: You can handle onClick event and modify the selection using the event selection API, i.e. multiselect.add(): https://api.daypilot.org/daypilot-scheduler-multiselect-add/
Answered: The best way is to remove the "areas" property from TL_sys_bloki.php and add it using onBeforeEventRender: dp.onBeforeEventRender = function(args) { args.data.areas = [ {left: 0, top: 0, width: 20, h...