Active Questions
How to add row with custom-width columns to DayPilot calendar?
Hi, I currently have a calendar resembling the first attachment. What I've been trying to achieve is something similar to the second attachment (an extra row with its own name and a custom amount of ...
Preventing event create / resize / move on business days
Answered: It will be possible to set .allowed false in onBeforeCellRender. This feature is in the works - it's not available yet.
[BUG] args.allowed = false on onEventResizing is not working.
Answered: args.allowed in onEventResizing is supported since build 1710. You can download it in the sandbox: http://javascript.daypilot.org/sandbox/
how can I Prevent Time Range Selecting on non business days
Hi, How can I disable the time range selection on a previous period or non business days. Ranjith
Limit events to nights only and setting minimum cell on select
Answered: Two approaches are possible: 1. It's possible to adjust args.start and args.end of the time range selection in real time using onTimeRangeSelecting event: http://api.daypilot.org/daypilot-scheduler-o...
How to display day, week, month and year view on selection of user choice?
Answered: Please see the new JavaScript tutorial here: http://code.daypilot.org/27988/html5-calendar-with-day-week-month-views-javascript-php
Losing Context Menu when updating scheduler
Answered: Do you update it using an UpdatePanel? In that case make sure that the context menu is inside the same UpdatePanel as the Scheduler. Let me know if this is not the case.
Scheduler: Changing HeaderHeight
I see in the documentation the headerHeight parameter, but when I set it, it is always rendered as 20px. Am I missing something? I'm using the Angular implementation with the attached config
Add an input type text in the event html
Answered: DayPilot.Scheduler.eventClickHandling = 'Edit' do the job :D thank daypilot for your awesome library
Disable Row(resource)
Answered: In DayPilot Pro you can use onEventMoving and onTimeRangeSelecting events to evaluate custom rules during drag and drop and forbid the action depending on the result: http://api.daypilot.org/daypilot...
Scheduler Control
Answered: If performance is critical then don't use AngularJS. It brings overhead related to watching the data sources (config which includes resources, events). The jQuery plugin is an alternative way of init...
Daypilot recurrence events error
0 down vote favorite I have used the recurrence feature used by daypilot calendar as following : protected void Calendar_BeforeEventRecurrence(DayPilot.Web.Ui.Events.Calendar.BeforeEventRecurrenceEve...
Complaint
Answered: Sorry to hear that - please contact us directly at support@daypilot.org to get a speedy response.
Context menu issues for JavaScript scheduler control in AngularJs app
Answered: There was a problem with using DayPilot.Menu with AngularJS. It's be fixed in the latest DayPilot Pro for JavaScript release: http://javascript.daypilot.org/daypilot-pro-for-javascript-8-0-sp2/ Let m...
Multiple DayPilotMenu
Answered: Yes, you can assign a custom context menu to events using BeforeEventRender (use e.ContextMenuClientName property): http://doc.daypilot.org/scheduler/event-customization/
How to create a new event?
Answered: Sanjeev, please see the HTML5 Event Calendar Tutorial, "Drag and Drop Event Creating" section: http://code.daypilot.org/17910/html5-event-calendar-open-source
Project Gantt Chart
I am evaluating the Gantt chart. Is it possible to have it not expand to show all tasks unless I choose to click and open the parent record to see tasks?
How can I add white space to a cell below other events to allow a user to create new events? DP pro Version: 1514
Answered: The rowMarginBottom property of the config object adds N pixels below the last event in a cell.
How do you control the top border of event, remove it, use a different color, etc.
Answered: protected void Scheduler_BeforeEventRender(object sender, BeforeEventRenderEventArgs e) { if (condition) { e.DurationBarColor = "green"; } if (else) { e.DurationBarColor = "red"; }