Hi, I noticed that I can create a new task from the front end, as long as rowCreateHandling is "Enabled". What I would like to do is for the user to be able to add a task as a child of a particular G...
Hello, We're looking into using this tool for a customer. One thing I cannot figure out is how to add a column BEFORE the resource name. Every example I see the first column is the resource name. And...
Answered: You can override the task box text using BeforeTaskRender event handler: The following example will show the task text instead of the percentage: void DayPilotGantt1_BeforeTaskRender(object sender, B...
Answered: How about this: // ... if (r.Children.Count > 0) { DayPilotScheduler1.Resources.Add(r); } // ... instead of: DayPilotScheduler1.Resources.Add(r); You can also filter the resources on the client side:...
Answered: The latest sandbox build (8.1.3450) now supports ScrollToTask(id) method. It lets you set the vertical scrollbar position using the specifeed task id. It works during the initial page load and also d...
Answered: Unfortunately, sliding animation during expanding and collapsing the tree nodes is not supported at the moment. There is no way to add it using custom code.
Answered: You can use a custom timeline: http://doc.daypilot.org/scheduler/timeline/ Or hide non-business hours: http://doc.daypilot.org/scheduler/hiding-non-business-hours/
Answered: The built-in recurrence support in the other controls (Calendar, Month, Scheduler) allows you to store the recurring events as a single event (with a rule assigned to it). This rule will be expanded ...
Answered: At this moment you can create a new task by entering the name first (in a special row): http://www.daypilot.org/demo/Gantt/TaskCreating.aspx This will fire RowCreate event where you can create a new ...
Answered: Since build 8.1.3445 you can use ScrollTo() on the server side. protected void Page_Load(object sender, EventArgs e) { // ... if (!IsPostBack) { DayPilotGantt1.StartDate = DateTime.Today.AddDays(-10)...
Answered: protected void Scheduler_BeforeEventRender(object sender, BeforeEventRenderEventArgs e) { if (condition) { e.ContextMenuClientName = "DayPilotMenu1"; } } You can store your condition in e.value examp...
Answered: You can use the following configuration: <DayPilot;DayPilotScheduler ... > <TimeHeaders> <DayPilot:TimeHeader GroupBy="Day" Format="%d" /> <DayPilot:TimeHeader GroupBy="Day" Format="ddd"/> </TimeHead...
Answered: You can take a look at the following demo: http://javascript.daypilot.org/demo/scheduler/eventareas.html It adds a green active area to the current day using onBeforeCellRender: dp.onBeforeCellRender...
Answered: 1. You can use SelectedRows property to set the selected rows. Example that selects the first row: DayPilotGantt1.SelectedRows.Add(DayPilotGantt1.Tasks[0]); There is a bug in the latest release that ...
Answered: You will need to hide it using CSS (scheduler_default_matrix_vertical_line) and add only the desired ones: 1. Create a custom grid cell class with { border-right: 1px solid #eee; } and add it to the ...
Answered: This is a bug which has been fixed in build 8.0.1746. You can test it and download the latest build in the sandbox: http://javascript.daypilot.org/sandbox/calendar/eventselecting.html
Answered: Please see the documentation on how to use event double click event: http://doc.daypilot.org/calendar/event-double-click/ In the latest realease ( http://javascript.daypilot.org/daypilot-pro-for-java...
Answered: You can add a custom onEventMoving handler: dp.onEventMoving = function(args) { if (args.end > dp.visibleEnd()) { args.left.enabled = true; args.left.html = "You can't drag the event out of the visib...
Answered: This property is supported since version 1.2 SP1 (build 171): http://javascript.daypilot.org/daypilot-lite-for-javascript-1-2-sp1/ You are probably using an older version. Let me know if the problem ...
Hi, i try to integrate a single page with a monthly event calendar into an existing ASP-NET MVC project and created the page accordingly to this tutorial: http://code.daypilot.org/10607/monthly-event...
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 ...
Answered: Figured it out, hopefully will help somebody in the future. So you set a directive inside your custom daypilot-scheduler tag. Let's name it "dynamic-content". <daypilot scheduler id="dp" daypilot-con...
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...
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...
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