Active Questions
Different Height for specific Events?
Answered: Yes, you can specify custom height using .height property: https://api.daypilot.org/daypilot-event-data/ It will overrride the global height set using .eventHeight property. You can also specify cust...
DayPilot Inline Event Editing
Answered: The texbox dimensions are set according to the original event already. However, there is a certain minimum width/height enforced by the browser so you may see a bigger textbox for some small events. ...
Ressource Tree Collapse JavaScript
Answered: Since build 2259, you can use DayPilot.Row.collapse() and DayPilot.Row.expand(): https://api.daypilot.org/daypilot-row-collapse/ https://api.daypilot.org/daypilot-row-expand/ In previous builds, you ...
Programmatically disable/enable the controls on the recurrenteventedit.aspx page? Is it possible? if so, how..
Hi Dan and Team, I would like to programmatically change those controls on the RecurrentEventEdit.aspx page.. So they can be edited, disabled, enabled, etc... Is this possible and if so, please advis...
Scheduler not updating correctly the time when event moved
Hello guys, I was playing around with the scheduler and realized that if I use the scheduler to show only the hour, timeHeaders: [ { groupBy: "Month", format: "MMMM yyyy"}, { groupBy: "Day" }, { grou...
CSS hourcellborder gone?
Answered: You can apply custom CSS class to cells that close an hour.
protected void DayPilotCalendar1_BeforeCellRender(object sender, BeforeCellRenderEventArgs e)
{
if (e.End.Minute == 0) {
e.CssCl...
Scheduler - Row Header always keep Floating
I have set rowHeaderColumns (three columns with Name & width) & resources properties. The rowHeaderWidth is set to 200 & rowHeaderScrolling is set to true. The row headers & resources are appearing q...
Procedure for integrate daypliot js with jspm
Hi, I'm using version 8.2 for understanding scheduler hour view. Currently we are java script package modules(jspm) for loading front end modules. In the documentation i don't see any information rel...
onEventClicked don't work when switching page
Hi, when i switch page, the onEventClicked don't work. I have to reload the page to make it work again. Is it a bug ? There is my code : $scope.schedulerConfig = { scale: "Day", days: 365, startDate:...
How to change transition in daypilot scheduler
Answered: You can scroll to the specified date using .scrollTo() method: https://api.daypilot.org/daypilot-scheduler-scrollto/ Demo: http://javascript.daypilot.org/demo/scheduler/scrolling.html Let me know if ...
Scheduler Event Resizing, notifying user of the overlap and then undoing the resize?
Answered: In the ASP.NET version you can do it like this: 1. Set EventResizeHandling to "CallBack". 2. In the OnEventResize handler, perform your checks. If there is an overlap, use UpdateType.None and notify ...
How to export excel with table
Answered: You are exporting the data in CSV (https://en.wikipedia.org/wiki/Comma-separated_values) format which doesn't support any formatting. Basically, there are two options: 1. You'll need to use a third-p...
Change start time and end time of a day in DayPilot.Scheduler
Answered: You can customize the start and end hour by generating a custom timeline: https://doc.daypilot.org/scheduler/timeline/
Delete??
Answered: There are several options, please see the following documentation page: https://doc.daypilot.org/scheduler/event-deleting/
Error when uploaded on server
Answered: This error doesn't seem to be related to DayPilot. It looks like you might be using HtmlLink control with a path which the control is unable to resolve:
HtmlLink myHtmlLink = new HtmlLink();
myHtm...
How to get days (dp.days) according to start date and end date from user selected
Answered: You can use DayPilot.DateUtil.daysDiff() helper method:
DayPilot.DateUtil.daysDiff("2016-06-09", "2016-06-10");
The arguments can be passed as strings (they will be parsed using DayPilot.Date con...
Testing the status of a room while selecting a timerange
Answered: If you store the resource status in dp.resource[].tags object you will be able to access it like this:
dp.resources = [
{ name: "Resource 1", id: 1, tags : {disabled: true } }
];
// ...
dp....
Preventing right button of the mouse from selecting a TimeRange
Answered: The following config disables selecting a time range using right mouse button:
dp.timeRangeRightClickHandling = "Disabled";
dp.onGridMouseDown = function(args) {
var button = DayPilot.Util.mo...
Timeline Queries
Answered: The output under the "DayPilot MVC" section in your sample image is what I would expect to see. This is how it is designed to work - the second time header row displays days and it starts and ends at...
Issue with loading events data from array.
Answered: You need to change "dp.events" to "dp.events.list":
dp.events.list = [{text: "Busy", start: "2013-03-24T03:00:00", end: "2013-03-24T05:00:00", id: 10, resource: "B"}];
See also: https://doc.daypi...