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

Questions Tagged javascript

Reload single event from database

Answered: If you want to refresh the events it is better to use .events.list array instead of .events.add() method. Adding events one by one using .events.add() works too but it is slower (it refreshes the sch...

Load Resource Tree from Database

Answered: You can use something like this: An example using DayPilot.request(): function loadResources() { DayPilot.request("backend_resources.php", function(result) { var data = eval("(" + result....

**Daypilot Month** set height some event

Answered: The event height in DayPilot Month can't be set individually. You can increase the event height using .eventHeight property (for all the events). Having custom height for individual events would prev...

setting cellBackColor after init doesn't work

Answered: This issue is fixed now in build 7.7.698 (see the sandbox): http://javascript.daypilot.org/sandbox/

cancel an onEventMoved or onEventResized

Answered: Found the answer: hope this helps other people save some time //This gets called when the user drops the event dp.onEventMove = function (args) { //args.e is the event object that is being moved //ar...

Minimize sources

Answered: It is minimized using ESC (ECMA Script Cruncher). You can find the instructions here: http://www.daypilot.org/how-to-compile-daypilot-pro-source.html The ESC download page is no longer available but ...

How to be locked some of the events from the database : Javascript

Answered: You can use 'moveDisabled' property: var e = new DayPilot.Event({ start:new DayPilot.Date(), end:(new DayPilot.Date()).addHours(5), id: DayPilot.guid(), text: "New Event", resour...

Scheduler Days View Overlapping events over day

Answered: The event order is resolved for each row separately. However, you can override the default order using custom event sorting: http://doc.daypilot.org/scheduler/event-sorting/

DayPilotMonth TimeRangeSelectedJavaScript: e is not defined

There seems to be a bug in DayPilotMonth TimeRangeSelectedJavaScript as if I try to use "e" in the javascript (e.g. console.log(e)) browser throws Uncaught ReferenceError: e is not defined. Any other...

onTimeRangeSelected(args) not passing values

Answered: The client-side event-handling API has two modes that can be switched using .api property: http://api.daypilot.org/daypilot-scheduler-api/ All DayPilot versions that include an integrated server-side...

Show Business Hours on Saturday using Javascript

Answered: Hi Patrick, In JavaScript you should use onIncludeCell event instead: http://doc.daypilot.org/scheduler/hiding-time-columns/ Example: <div id="dp"></div> <script type="text/javascript"> var dp ...

Resource Header Click - JavaScript

Answered: The resource header details are accessible using "resource" variable: DayPilot Scheduler tag: ResourceHeaderClickJavaScript="test(resource);" JavaScript: <script language="text/javascript"> f...

Clear all the events from the calendar

Answered: In the Lite version, there is no client-side API to do this. The only way is to look for event <div> elements using jQuery and delete them.

Is it possible that the daypilot emitted javascript executes after page load?

Answered: You can initialize it using the JavaScript API directly instead of calling the @Html.DayPilotScheduler() helper. Example: function initScheduler() { var dps = new DayPilot.Scheduler('dpScheduler...

Logout issue

Logout the application when callback..

Change text content of an event client side?

Answered: There is a set of methods that allow you to set the client-side properties: e.client.innerHTML("New HTML"); e.client.cssClass("newClass"); e.client.toolTip("New ToolTip"); e.client.backColor("#d...

Scripts use IndexOf on arrays, not available in IE8?

Answered: It should be fixed now in build 6.9.2499. Please see the sandbox: http://www.daypilot.org/sandbox/ And also here: http://www.daypilot.org/daypilot-pro-for-asp-net-webforms-6-9.html
Previous Questions 2071-2087 of 2087