search envelope-o feed check
Home Unanswered Active Tags New Question

Active Questions

How to avoid resizing under a certain duration in Daypilot Calendar?

Answered: You can use the onEventResizing event to customize the behavior during drag-and-drop resizing. You can use it to enforce custom rules, such as setting a minimum duration: onEventResizing: args => { ...

Events movable if time range over it is selected

Answered: The Scheduler includes a built-in tool for selecting multiple events using drag and drop - the rectangle selection. You can switch it to row-only mode to only select events in the same row. It disapp...

Shift + select when multirange is active doesn't clear

Dear Daypilot-Support, I work as a developer for RTM Systems. When performing shift + select when multirange is active, the previous selection doesn’t clear properly. Please review the attached GIF. ...

Time Range double click error

Answered: This problem should be fixed now in the latest sandbox build (2023.4.5769): See also: https://release.daypilot.org/changes/js/

Modal.Form() Optional/Null Dates

Is there a way to display null or optional date fields within the Modal.Form? When loading dp.events.list additional date fields have been added to the tags element. They come through as nulll. But w...

Index of ResourceHeader

Answered: The onResourceHeaderClicked is a legacy event which has been replaced by the onRowClicked event. In onRowClick and onRowClicked, you can access the column index using args.x.

How to clear selected events with ctrl + click

Answered: The clearSelection() method clears the time range selection. To clear the event selection, you will need to use the multiselect.clear() method. See also event selecting in the documentation.

Copying and Pasting Multiple events accross resources

//I managed to implement the copy multiple events at a go but still running into some errors in run time. //1. I need to know how to clear selection after right clicking on paste. Otherwise even afte...

Can you enable the no block for full crosshair

Answered: The full crosshair in the Scheduler now allows mouse events to pass through in the latest sandbox build (2023.4.5765). See also: https://release.daypilot.org/changes/js/

add ctrl and shift to onTimeHeaderClick args

Answered: Yes, it’s now available in the latest sandbox build (2023.4.5746): https://release.daypilot.org/changes/js/

onRowRightClick with React?

Answered: It was missing from the TypeScript definitions. It’s now available in the latest sandbox build (2023.4.5746): https://release.daypilot.org/changes/js/

Enable AutoScroll in Calendar.

Answered: The AutoScroll feature is available in the Calendar as well: https://doc.daypilot.org/calendar/autoscroll/

Display additional header column over multiple dates

Answered: You can add custom elements to the time header using active areas (demo): You can either create a special row for this bar or add it to an existing row.

Calendar Flickering in Updates

Answered: 1. I recommend checking what actually flickers. In my tests, I have never seen the Calendar flickering - although most updates redraw the whole calendar. However, if you add images to events/headers,...

Implementing Multi-Select of Events in scheduler

Answered: There is a tutorial that shows how to do this: JavaScript Scheduler: Copy Multiple Events Please let me know if it didn’t help!

how to disable single eventmoving and resizeing

Answered: At this moment, you can disable event moving and resizing for individual events only in the Pro version (using moveDisabled and resizeDisabled properties of the data object or using the onBeforeEvent...

How can i style modal pop-up

Answered: You can either override selected styles of the built-in theme or create a custom theme and apply it using the theme property: const modal = await DayPilot.Modal.form(form, data, { theme: "my_theme" }...

events.update updates the whole calendar and not the only event, causing flickering.

Answered: There was an issue with events.update() when called with a raw data object as an argument. It should be fixed now in the latest sandbox build (2023.4.5743). It caused the calendar to update the event...

DayPilot.Scheduler: Cannot read properties of null (reading 'clientWidth')

In the DayPilot.Scheduler, we sometimes see a JavaScript error pop up in the console: Cannot read properties of null (reading 'clientWidth') This happens when using the scrollTo() function. We observ...

DayPilot.Gantt - Change/modify links on render?

Answered: At this moment, there is no special onBeforeLinkRender event. However, you can set the properties directly in the data source. You can customize the look using properties like color, style, and cssCl...
Previous Questions 441-460 of 5260 Next