Questions Tagged scheduler
Scheduler: Cannot read property 'y' of null
Answered: This can happen if you enable keyboard access with keyboardTarget = 'document' and hit enter before focusing a grid cell. It should be fixed now in the latest sandbox build (2020.4.4821).
No rendering after resizing the separator between resources and events
Answered: It should be fixed now in the latest sandbox build (2020.4.4827). Please let me know if there is any problem.
Main rows with background color opacity less than 1 don't get covered by fixed rows
Answered: This is by design. The frozen rows are displayed on top of the main grid and if you use transparent background for the frozen row cells you'll see the underlying grid.
How to convert php to spring boot
Answered: Unfortunately, this tutorial is not available for Spring Boot at this moment. To see how the Calendar and Scheduler components can be used with Spring Boot backend, please see the following tutorials...
Update certain columns of the resources
Answered: 1. You can update a single row using rows.update(): https://api.daypilot.org/daypilot-scheduler-rows-update/ 2. It's also possible to change HTML of a specific row header column directly using DayPil...
Error with fixed rows and certain data
Answered: This issue should be fixed now in the latest sandbox build (2020.4.4810). Please let me know if the problem persits.
Scheduler: keyboard navigation using the Tab-key
Answered: At this moment, no. The keyboard access has no API yet. It will be introduced soon and it will include an option to add custom key mappings.
Line between normal and frozen rows
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...
What program should i use for the codes?
Answered: In order to run the project, you'll need PHP, a webserver and a MySQL database server. A decent knowledge of JavaScript is also necessary if you want to customize the project. If you are a complete b...
Scheduler Spacing between Time header and Main area
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...
Swap events but keep duration
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;...
Scheduler date problem
Answered: Try removing the following section from Page_Load:
DayPilotScheduler1.Scale = TimeScale.Manual;
DateTime start = new DateTime(DateTime.Today.Year, 1, 1, 12, 0, 0);
DateTime end = start.AddYears(1...
Update particular resources
Answered: Yes, you can use row.update() method: https://api.daypilot.org/daypilot-scheduler-rows-update/
Console.log display error unique ID
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...
Issues with keyboard navigation and custom themes
Answered: The way the focused element (cell/event) is highlighted is not final and it may change in the final release - that's why the Theme Designer doesn't include support for the keyboard focus yet. The bui...
Write back from rendered component inside event to its data
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...
Changing resources property doesn't update in the frozen rows
Answered: This issue should be fixed now in the latest sandbox build (2020.4.4741). It also fixes this issue: https://forums.daypilot.org/question/5244/showing-hiding-resource-columns-doesnt-synchronize-with-f...
Is there an event on resizing rowHeaderWidth
Answered: Yes, it's onRowHeaderResized: https://api.daypilot.org/daypilot-scheduler-onrowheaderresized/
Showing/Hiding resource columns doesn't synchronize with frozen rows resource area
Answered: This issue should be fixed now in the latest sandbox build (2020.4.4741).
Scroll not working in ionic v1
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...
Manipulate the text in the in-place editor
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...
Control event text (numeric or alphanumeric)
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...
No row header scrolling in combination with frozen rows
Answered: This issue should be fixed now in build 2020.4.4757. Please let me know if it doesn't work as expected.
Limit time range selecting to one day
Answered: It's OK, I found the solution myself using onTimeRangeSelecting
onDomAddEvent and onDomRemoveEvent are not triggerd
Answered: These events were renamed to onBeforeEventDomAdd and onBeforeEventDomRemove to make the names consistent with other events. The old events were supposed to be supported as well but there is a bug tha...
Customizing time header cell after binding
Answered: If you load the events using one of the optimized methods, e.g. events.load(); or update({events: [...]}); the Scheduler will only update the events. You'll need to force a full refresh to re-render ...
text-align: right does not work for *_event_inner class
Answered: You can override "display: flex" if needed. It is only used to enable vertical centering within the event box. You can also keep "display: flex" and use "justify-content" to align the event text to t...
cellWidthSpec = 'Auto' doesn't work with resources separator
Answered: This should be fixed now in the latest sandbox build (2020.4.4698): https://javascript.daypilot.org/sandbox/
Scheduler scroll event
Answered: You may want to take a look at the "frozen rows" feature that may help with some scenarios: https://doc.daypilot.org/scheduler/frozen-rows/ If that doesn't work, you can use the addEventListener sync...