search envelope-o feed check
Home Unanswered Active Tags New Question

Questions Tagged javascript

Long event (multy day)

Good day, I use a DayPilot lite for Javascript, and when I create an event which will start in one week and end in another, calendar control is only render last part, but preserve a place in the firs...

Error in onScroll

Hi! I get this error: TypeError: ex.start is undefined on: $.post("backend_events.php", { start: start.toString(), end: end.toString() }, function(data) { args.events = data; args.loaded(); } ); DAni...

iPad time range selection

Hello all, When im testing my Javascript calendar, I am unable to drag, for example across 2 days, and make an event for those 2 days. I am only able to select 1 single day by pressing that day. Is t...

Uncaught TypeError: undefined is not a function error while initializing daypilot

Answered: http://geeksprogrammings.blogspot.com/2015/01/Uncaught-TypeError-undefined-is-not-a-function.html Fnally I found a solution to the error . this link provided me explanation of why and what of this er...

Local Time Client Calendar but UTC Server Side

(2014-09-02 08:42 UTC) Hello All, I am using the 'ASP.NET WebForms 7.8 SP2 (build 7.8.3169)' Calendar object. I have an issue with Local/UTC DateTime handling. I have been going though all (most?) fo...

Display Days on Time headers as clickable.

Hi, I am using the JavaScript Scheduler to build an appointment calendar application. I have two modes for the app, namely Day and Month view. I want to achieve the following : Whenever the user in t...

Deadly Memory Leak Problem

I have 5 resource and 48 events. I refresh my event every 5 seconds via websocket. When my page start , memory is 50 MB after 5 min. After half hour memory is 1 GB. 1-)How Am I gonna solve that memor...

How do I set the timezone for the scheduler/calendar ?

I have a date that start at 10 and ends at 12. But the scheduler puts it between 8 and 10. I live in Sweden so my timezone is +1 plus summer time so in total +2. How can I make the scheduler/calendar...

Problem moving events

Good Morning, I'm initializing a scheduler javascript. I have a problem when I move the data. I was trying to create a method that would allow me to avoid overlap of events. Through a Request Daypilo...

Why does calendar add event at wrong time when using BusinessHoursNoScroll

Something seems weird when switching between businesshoursnoscroll and businesshours. The time of the event is incorrect. Here is a fiddle: http://jsfiddle.net/Viktor/uf6x4hdn/1/ Side note: It would ...

Separator / Actual Time in CALENDAR control

Answered: The separators are not implemented for the calendar control but you can highlight the current cell using onBeforeCellRender event handler. You can find a new example here: http://doc.daypilot.org/cal...

Moving problem

hi, I love daypilot, really good and easy to understand. But I'm stuck. When I want to move an event to another day or another resource. The event is in two days. But when I move the event to another...

Deleting Event - Scheduler Pro, Using active area delete icon

Answered: Found the issue, per a recommendation from Dan- When using eventDeleteHandling = Update, the active area is automatically created and BeforeEventRender is not necessary. In my case, it was prohibitin...

heightSpec="Auto" not working properly

Answered: Hi Dave, Please write to support@daypilot.org and you can get the full version of the latest build by email.

onBeforeTimeHeaderRender is being run for every event when using gantt

Answered: The answer is related to you side question: "How do I add events in the fastest way ?" The fastest way is to use .events.list and .update(): dps.events.list = [{...}, {...}]; dps.update(); The ....

When switching between gantt and resources view the resource-column-width is not updated

Answered: The row header width auto-fit feature works like this: 1. It will extend the width beyond the initial width if needed. It starts from rowHeaderWidth - the new width is never smaller. 2. It stores the...

heightSpec="Auto" doesnt grow automatically

Answered: Version 7.8.932 fixes this problem: http://javascript.daypilot.org/sandbox/ See your example: http://jsfiddle.net/LsrvZ/1/

If date is 15:30, getHours() will return 16.

Answered: I'm an idiot. Forget about this.

Styling the rows....??

Answered: To set the color of the cells use onBeforeCellRender: http://doc.daypilot.org/scheduler/cell-customization/ and to set the color of the row headers use onBeforeResHeaderRender: http://doc.daypilot.or...

hided children opened automatically?!

Answered: The AutoRefresh event handler doesn't do anything by itself in the JavaScript version. If you are using the MVC version than make sure that you don't reload the Resources list on the server side duri...

Scheduler timerange: why from 0 to 0 clock?

Answered: DayPilot works with exact time points: The day begins at 00:00 and ends at 24:00 (i.e. 00:00 the following day). If you want to display the end date the way you describe you need to subtract one day ...

Scheduler: clickable altough its disabled

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...

Scheduler: optical subdivision

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 ...

Styling Indicator and Row Selecting ?

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...

Scheduler multiuser- able?

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...

Event Resize: Stepless ?

Answered: You can turn of the "snap to grid" behavior using .snapToGrid property. See also: http://doc.daypilot.org/scheduler/snap-to-grid/

Right click from mobile

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...

Click event on resource in Scheduler

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...

How to set value of result in a modal window ajax request?

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");

OnEventMoved

Answered: It seems the lite version doe snot support this. I am now using the prod and it works,
Previous Questions 2041-2070 of 2121 Next