All Questions

DayPilot Pro for ASP.NET Core

Answered: DayPilot Pro for ASP.NET Core is in the works, please stay tuned!

MVC Popup Window - Stop closing when clicking out of window

Answered: With the latest version of DayPilot.Modal (2.6) you can use the following code: modal.onClose = function(args) { if (args.backgroundClick) { args.preventDefault(); } }; See also: https://code.daypilo...

display calendar event as list View

Answered: I recommend using standard ASP.NET controls - such as a ListView ( https://msdn.microsoft.com/en-us/library/bb398790.aspx ). DayPilot doesn't include any control for displaying the calendar data in t...

Set timerange to 8 am until 3am the next day

Answered: Rik, I didn't check the actual logic of your sample but the result should be set using args.cell.visible property instead of the return statement. See also: https://api.daypilot.org/daypilot-schedule...

How to limit time range in DayPilotCalendarWeek

Answered: Hi, I would do the following: 1. First setup you're working hours: dp.businessBeginsHour = 7; dp.businessEndsHour = 18; 2. Then I'll handle the onEventMove as well as the onEventResize event: https:/...

Calendar events not updating

Answered: 1. If you have a complete data set that you want to display (i.e. you don't plan to apply any "diff" to the event set) the recommended way is to assign the array directly to .events.list: vm.calendar...

Angular2 scrollTo() on click event

Answered: This issue should be fixed now in the latest sandbox build (8.3.2510): https://npm.daypilot.org/ You can use the following code to keep the current position when changing the scale/cellDuration/cellW...

Resources not showing with dynamicLoading = true

Answered: I figured out what the problem was after testing my data on the dynamic example. I had not added args.loaded() in my onScroll function. After adding that the rows are loaded correctly, but with a del...

Get Resource Parent ID

Answered: You can do it like this: var parentId = dp.rows.find("A").parent().id; See also: https://api.daypilot.org/daypilot-scheduler-rows-find/ https://api.daypilot.org/daypilot-row-parent/

onRowFilter - error on cells.all()

Answered: This event handler is called during the update process. The rows.cells.all() method will only work correctly when the update is complete. What would you like to achieve? Hide a row that doesn't have ...