Questions Tagged javascript

cannot find dayBeginsHour for reactjs

Answered: Unfortunately, these properties are only available in the Pro version of the React Calendar. See also: https://doc.daypilot.org/calendar/overnight-scheduling/

Empty start or end date corrupts DB

Answered: The current version works like this: The Scheduler doesn't create any event by itself. If users select a time range, the Scheduler fires he onTimeRangeSelected event ( https://api.daypilot.org/daypil...

Disable Column in js Calendar

Answered: The cells can only be marked as disabled using the onBeforeCellRender event handler. This reactive design ensures the best performance of your app and prevents state synchronization issues. You shoul...

Update draggable item list

Answered: I'm not sure what exactly you are trying to achieve, but there are several options: 1. You can remove the list item and create a new one, activating it using makeDraggable() again. 2. You can only ch...

Exporting/Printing scheduler - event customization

Answered: Unfortunately, it's not possible to apply custom event height during export. However, you can use the built-in "versions" feature which is created just for this scenario (to display planned vs. actua...

No event

Answered: Please see my suggestion here: https://forums.daypilot.org/question/5785/example-does-not-work

Move Row Header Column to Right

Answered: Unfortunately, there is no elegant way to display the row headers on the right side at the moment. There is a tutorial that shows how to implement your option 2, but it's just a workaround: https://c...

Scheduler ResourceHeaderClickJavaScript

Answered: I recommend using RowClickJavaScript instead. It handles the JavaScript onRowClick event: https://api.daypilot.org/daypilot-scheduler-onrowclick/ You can access the resource id using args.row.id ther...

Row Header Column resize buggy in Legacy Mode

Answered: This issue should be fixed now in the latest sandbox build (2022.3.5388): https://release.daypilot.org/changes/js/ Please let me know if the problem persists.