Questions Tagged
Scheduler OnTimeRangeSelected shows wrong start/end
I set business hours at 7-23 and do not want to show non business hours. My code looks like this: http://pastebin.com/V5RhtV0d The thing is that on time range selected it shows wrong hours, e.g. star...
How to hide Daypilot.contextMenu
Answered: You can use hideOnMouseOut property:
var dp = new DayPilot.Menu({
items: [ {...}, {...}],
hideOnMouseOut: true
});
How to change the Day Width
Answered: You can customize the cell width using cellWidth property. The Gantt chart component is based on the Scheduler and in uses the same API:
dp.cellWidth = 60;
dp.update();
Not allowed to add event on same place after Deleting the event
Answered: Got this to work with following code change:- let shiftToDelete = dp.events.find(this.selectedEventId); dp.events.remove(shiftToDelete); dp.clearSelection(); But is it necessary to call clear selecti...
Angular2 row filter + auto width
Answered: A tutorial on row filtering in Angular 2 is in the works and it will be published in a day or two. The row header width autofit should work fine, let me check that.
Scheduler not working
Answered: Ok, nevermind I just used the function I wrote before: protected override void OnBeforeCellRender(BeforeCellRenderArgs e) { if ((e.Start.DayOfWeek == DayOfWeek.Saturday || e.Start.DayOfWeek == DayOfW...
Open edit window after creating
Answered: It's possible to open the edit dialog on the client side as soon as the TimeRangeSelected callback is finished. You can pass custom data back to the client side using DayPilotCalendar.Update() and re...
dp.scrollTo is giving performance issue on IE browser
Answered: Hi Devendra, Have you seen this thread? http://forums.daypilot.org/Topic.aspx/3626/angular2-scheduler-performance-issue-after-upgrade The latest Angular 2 version (2.3+) degrades Scheduler performanc...
Daypilot MVC Contextmenu configuration
Answered: You can build the DayPilotMenuConfig on the server side and pass it to @Html.DayPilotMenu helper using a Model. However, this will only work if you know the state when the page is being rendered. If ...
selete id of multiple checked checkboxes inside repeater
Hello I am new to this dypilot Calendar.Can anyone help me with this issue. I have 5 checkboxes inside a repeater. when i select multiple checkboxes i can load appointments only the last checkbox tha...
Daypilot angular2 scheduler control takes time to render (compared to FF,chrome) - peformance issue
Answered: Please see my reply here: https://forums.daypilot.org/Topic.aspx/3641/dp-scrollto-is-giving-performance-issue-on-ie-browser It points to a longer discussion: http://forums.daypilot.org/Topic.aspx/362...
Jasmine unit tests for DayPilot Scheduler AngularJs Typescript
Hi, I need to write Jasmine unit tests for my page containing DayPilot Scheduler. Is there any sample code available. I have downloaded the TutorialAngular2Scheduler.20160919.zip project but it doesn...
How to apply daypilot license?
Answered: You need to use daypilot-all.min.js file from the full package. This file is different for the licensed version.
Scheduler for Angular2 not creating resource children
Answered: The resource tree is disabled by default (it adds node icons to the rows which is not desired if it's a flat structure). You can enable by adding "treeEnabled: true":
config: any = {
scale: ...
Moving 2 day calendar
Answered: You need to use Scale="Manual" and generate the timeline manually: https://doc.daypilot.org/scheduler/timeline/ Something like this:
private void CreateTimeline()
{
DayPilotScheduler1.Scale = T...
Just purchased full version Scheduler Displays incorrectly
Answered: The "before" version uses an older version of DayPilot that used inline styling (CssOnly="false" mode). The easiest way to get the same appearance is to replace the demo dll with the same version num...
Display Meetings and cancel
Would like to know how to display all the calendar appointments and send a cancel invite for all the users using PS/EWSManaged API
Full View Print on Scheduler
Answered: Yes, it's possible using the standard exportAs().print() call. Just specify the area you want to export:
dp.exportAs("svg", { area: "full"}).print();
You can try it in the browser console in the ...
Is there a way of excluding specific days of the week (Sat/Sun) or of excluding specific days with RecurrenceExpand.Expand
Answered: Yes, for skipping the weekend the rule would by "weekly" and the list of days would include Monday...Friday:
RecurrenceRule rule =
RecurrenceRule.FromDateTime("1", DateTime.Today)
.We...
Increase Font size of Date, Time, and Location DayPilot Scheduler
Answered: Since the introduction of CSS-only styling the appearance is now controlled using CSS. Only some selected styles can be controlled using direct properties (especially event-specific styles set using ...
Daypilot is calling Pageload multiple times
Answered: DayPilot uses the standard ASP.NET CallBack mechanism to communicate with the server side. Each callback fires the respective event handler (e.g. EventMove) but it also goes through Page_Load first. ...
Angular2 Scheduler performance issue after upgrade
Answered: It looks like zone.js generates an internal error whenever an event handler is assigned to a DOM object. This error is handled internally - I'm not sure if it's part of the standard workflow, but it'...
tooltip
Answered: There is a property of BeforeEventRenderEventArgs called ToolTip:
Protected Sub DayPilotScheduler1_BeforeEventRender(sender As Object, e As BeforeEventRenderEventArgs)
' ...
e.ToolTip = "Too...
Scheduler with Week, Day header, and clickble on Date.
Hi, Can you provide me the Daypilot Header with the Week, Day, Month. And whenever I click on Date open that particular Date events.
How to disable scheduler
Answered: You need to disable the features one-by-one using *Handling properties, e.g. EventClickHandling = Disabled, EventRightClickHandling = Disabled, EventMoveHandling = Disabled, TimeRangeSelectedHandling...
Display total for each resource and for each hour
Hi, My daypilot is group by below: timeHeaders: [ { groupBy: "Hour" } ], days: 1 I have two requirements: 1. View total of shifts for each resource I want to add column on extreme right side to displ...
Show Current date on moving
Hi, I have some question about to show current date on event moving. Can I set the scheduler to show only current date hover on the shadow and disabled start date and end date on left and right? Than...
image in Scheduler
Hi Can it is possible to have an profile image of Resources in Daypilot Scheduler. If it is possible can you provide me the code in JS. Thanks Anil Singh
Assign custom list in event list
Answered: The most common problem when the events don't appear is that the resource id reference (dp.events.list[].resource) doesn't match the id of the resource (dp.resources[].id). Note that it must be exact...