Questions Tagged javascript
Border is gone when zoom page.
Answered: Unfortunately there is no way to control how the browsers will scale the page when using a zoom level other than 100%. However, you can try increasing the cell border width using custom CSS theme. Se...
Edit
Answered: You mus use the EventClickHandling and EventClickJavascript to envoke a ModalDialog, an show the editable data on it. https://doc.daypilot.org/scheduler/event-editing/
How to disable rowheadercolumn resizing?
It's possible to resize the width of a rowheadercolumn in scheduler by simply moving the columnheader splitter left or right. How can I disable this? I tried the following things without success: row...
Multiple resources timerangeselect
Answered: Yes, it's possible but you need to select the resources one by one (holding Ctrl): http://javascript.daypilot.org/demo/scheduler/multirange.html
SQLite
Answered: Most likely the problem is that the process doesn't have permissions to write to daypilot.sqlite. 1. Trying adding the permissions. 2. Placing the DB file in a publicly accessible location is not a g...
Event moving between schedulers
Answered: Thanks for reporting the issue. It should be fixed now in the latest sandbox build (8.2.2143): http://javascript.daypilot.org/sandbox/scheduler/eventmovingtwoschedulers.html
Scheduler styling: small vertical open space between rightmost column and right border
The right side of the scheduler looks like this: http://imgur.com/D7Ngfvy Is it possible to just hide the outer border, or is there another solution to this? I'm using angular daypilot and I created ...
Using DayPilot.Scheduler.options.update(), all events disappear
Answered: There are two ways to update events:
dp.events.list = [ ... ];
dp.update();
Since build 1749 it's also possible to replace it with a single call:
dp.update({ events: [ ... ]});
Note that in ...
How to change weekly calender
Answered: You can change the visible week using startDate property:
<select id="week">
<option value="2016-04-04">Week 14</option>
<option value="2016-04-11">Week 15</option>
</select>
<div id="dp"...
Directive not working
Answered: If you don't see anything in the JavaScript console I recommend starting with the following minimum code:
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Angular...
AngularJS how to set businessBeginsHour, businessEndsHour and calendar height
Answered: It's supposed to work like this:
<div ng-app="main" ng-controller="CalendarController" >
<daypilot-calendar id="calendar" daypilot-config="calendarConfig" daypilot-events="events...
Disable eventoverlap on on client side in calendar?
Answered: Unfortunately it's not implemented in the Calendar at the moment. It will be added in one of the future releases.
Hide/Show Navigator in AngularJS(Datepicker style)?
Answered: You can access the DayPilot.Navigator object using $scope.navigator (because id="navigator"). The config only holds the configuration data (it has no methods). Try this instead:
// show
$scope.nav...
Scheduler vertical scroll
Hi, I've noticed that if I fill the Scheduler with resources to make it displays the vertical scrollbar and then scroll with the mouse wheel, the viewport move backward of one day per scroll. The sch...
Events background color in exported PNG image
Answered: This was a bug which is now fixed (since build 2100): http://javascript.daypilot.org/daypilot-pro-for-javascript-8-2-sp4/ Let me know if the issue persists.
External Drag and Drop in Monthly Calendar
Answered: Yes, but there is no set target date at the moment.
Load Resources and Events On Vertical Scroll
Answered: At this moment, the Scheduler doesn't support loading additional resources during scrolling. All resources need to be loaded in advance using .resources array. However: 1. The row headers are rendere...
execute a javascript function after commandCallBack success
Answered: I recommend relying on the Navigator to request the events using the standard mechanism: 1. Let the "Next" button change the navigator only:
<a href="#" id="next">Next</a>
<script>
$("#next")...
dynamically load resources and events on vertical scroll
Answered: Please see my comments here: http://forums.daypilot.org/Topic.aspx/3125/load-resources-and-events-on-vertical-scroll
Export/Print Function for GANTT
Answered: It's in the plan and it will be available one of the future releases.
How to remove DEMO MARK ?
Answered: When you purchase DayPilot Pro for ASP.NET WebForm you receive a download link to a full version of the package. You need to use DayPilot.dll that was included in the full package download. Sometimes...
onBeforeCellRender for a ressource on a day
Answered: Let's say you have a list of days to be highlighted:
var days = ["2016-01-01", "2016-05-01"];
You can use the following code to highlight these days in the Scheduler:
dp.onBeforeCellRender = fu...
Rows Filtration in Scheduler
Answered: It's quite possible that the version you are using doesn't support row filtering. As you can see in the documentation (https://doc.daypilot.org/scheduler/row-filtering/) the row filtering is supporte...
Multi-Line Events
Answered: By default, the Scheduler prevents the event text from wrapping. You can change it using eventTextWrappingEnabled property:
dp.eventTextWrappingEnabled = true;
You can also set custom event heigh...
Scheduler under Angular
Answered: This turned out to be a bug of the latest version - since the introduction of "events" attribute it fails to recognize "daypilot-events". It's now fixed in the latest sandbox build (8.2.2072): http:/...
Call Javascript Functions from Code File other than Page Load function
Answered: Please see AfterRenderJavaScript event which is described here: http://doc.daypilot.org/scheduler/callback-update/ On the server side, pass a custom object to .Update() - it will be available in Afte...
InvalidCastException when command with selected events
Answered: Serialization of tags with null value has been fixed in 8.1.3484 so it shouldn't be a problem anymore: http://www.daypilot.org/daypilot-pro-for-asp-net-webforms-8-1-sp5/ Let me know if the issue pers...
Can I make Joint Events move together but not resize together?
Answered: Since build 2057 you can configure the behavior using the following properties:
dp.jointEventsResize = false;
dp.jointEventsMove = false;
You can test and download build 2057 in the sandbox: htt...
Custom timeHeaders
Answered: Do you use the latest DayPilot version? The start/end properties for time header active areas are available since version 8.1 (build 8.1.1757). If I add your code to demo/scheduler/index.html it seem...