Hi! When i click on a event which is "clickDisabled = true;", daypilot handle it like it is "dragged". The Event is "marked" and the mousecurser moved to the "cross". In that case you cant move the e...
HEy Dan! My scheduler got about 50 REsources. Some of them are grouped by something. So there are f.a. 5 resources i want to edge. But not only the names of the res., also the whole row. It would be ...
Answered: The new theme elements that were introduced in 7.8 are defined like this (in the built-in theme, i.e. "scheduler_default"). You can copy these styles to your theme. The other themes in the package an...
Answered: Solving record locking is far from simple in web applications. See the following SO question for a brief outline of the problem: http://stackoverflow.com/questions/3358957/blocking-a-record-from-edit...
Answered: With the upcoming 7.8 release you will be able to use: dp.eventTapAndHoldHandling = "ContextMenu"; This will activate the context menu for the "tap and hold" gesture. You will need to add custom drag...
Answered: Got it to work with a contextMenu: dp.onBeforeResHeaderRender = function (args) { args.resource.contextMenu = new DayPilot.Menu({ items: [ { text: "Something", onclick: function () { alert("You click...
Answered: You are using the server-side syntax: Modal.Close(this, "OK"); On the client side, it has only one parameter: window.parent.DayPilot.ModalStatic.close("OK");
Answered: Can you try to download the sample PHP project from here? http://code.daypilot.org/17910/html5-event-calendar-open-source The downloads include a working PHP project with all the features working. Pl...
Some times after some changes of event the calendar won't show changes until refresh all page or reload all events. I'm using dp.events.update(evnt) function.
Hello, When I'm trying to create a new event using daypilot-modal-2.1. After I close modal dialog I use dp.clearSelection(); Then I switching to another view of Calendar and events won't load because...
Answered: AutoRefresh is now supported in the JavaScript version (build 7.7.813). See the sandbox: http://javascript.daypilot.org/sandbox/ If enabled during initialization (autoRefreshEnabled = true), it will ...
Answered: You should call .update() after changing startDate or days. This is an example from the the navigator integration demo: http://javascript.daypilot.org/demo/scheduler/navigator.html See onTimeRangeSel...
Answered: You should set the .moveEnabled property on the DayPilot.Event.data object, not on DayPilot.Event directly: var e = new DayPilot.Event({ start: "2014-03-25T00:00:00"), end: "2014-03-25T12:00:00", id:...
hi! i have an event with "moveHDisabled". When i drag this event i can drag this event to the left cell. hope you know what i mean ;) can send you a screenshot...
Answered: If you modify the event in .events.list and call update() it should be updated properly (as all events will be redrawn as part of the update). See also: http://api.daypilot.org/daypilot-scheduler-upd...
Answered: It looks like your styles use position: absolute. This causes the bubble HTML content to be taken out of the page flow - it doesn't extend the bubble div height. Try using position: relative instead.
Hi! I want to add f.a. "resourcetype" to a resource. And then, i want to read this attribute when the user drop an event, f.a. in the method "onEventMove". Is this possible? THANKS!!! Daniel
Answered: Changes of the key properties (id, start, end, resource, text) doesn't have an immediate effect because it would cause problems if you modified events that are already visible in the calendar/schedul...
Answered: Using DayPilot Pro 7.7.787 and later (see the sandbox at http://javascript.daypilot.org/sandbox/ ) you can do this: dp.onEventClicked = function(args) { new DayPilot.Bubble().showHtml("Event details:...
Answered: Please try version 7.7.759 from the sandbox: http://javascript.daypilot.org/sandbox/ "ddd" pattern string is not implemented in prior versions.
Answered: Yes, there is no built-in onEventDelete event. You can call dp.events.remove(e) and then notify the server: dp.events.remove(e); $.post("delete", { e: e.id() }, function() { dp.message("Deleted"); } ...
Answered: You can customize the header HTML using onBeforeTimeHeaderRender event handler: dp.onBeforeTimeHeaderRender = function(args) { if (args.header.level === 1) { args.header.html = args.header.start.toSt...
Hey Dan! Can you add a Text to a seperator to descripe it? You could add a bubble for a short time when you do a mouseover over the seperator. Or show the text on the upper of the seperator. thanks d...
Answered: Alex, You need to register it using DayPilot.Locale.register() method: DayPilot.Locale.register(localeMy); The .register() method must be invoked on DayPilot.Locale object directly (not on an instanc...