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

All Questions

Logical overnight scheduling

https://doc.daypilot.org/calendar/overnight-scheduling/ documents how overnight scheduling works. I understand how it's done but that doesn't make sense to me - particularly because the component is ...

Scrollbars

Answered: There are two ways to hide the scrollbar: * adjust the content (make it smaller) * set an increased height/width manually By default, the height is set automatically according to the contents. The au...

Modal does not load / trigger jquery or javascript

Answered: If you use the modal dialog to display a custom URL using showUrl() it will always use an iframe. The "useIframe" value is ignored in this case. If you want to reach the JS objects created in the par...

Scheduler Performance Problems

Having performance problems with the scheduler, such things as it taking 5 seconds or more just to scroll. I have gone through this and tried varies combinations of the suggestions within it, but not...

Context Menu change position page scrolling up and down

Answered: The context menu is created using a <div> element that is placed directly under document.body as the last child. Its position is specified using inline styles ("position: absolute; top: ...px; left: ...

unselect a selected event on event click

Answered: The default behavior corresponds to the typical file manager behavior - clicking an event selects it, clicking another event changes the selection to the new event, Ctrl+click is required to unselect...

when click on even

when click on event how do I load event detail in pop up, now empty pop up shows up.

Group resources

Answered: Unfortunately, this kind of arrangement is not supported at the moment. The parent resource will always be displayed as a separate row.

position selected event on the center of view port when zoom in/out

Answered: You can scroll to a specified position using scrollTo() method: https://api.daypilot.org/daypilot-scheduler-scrollto/ You can get the selected event using multiselect.events(): https://api.daypilot.o...

how to add Switching Day/Week View

Answered: To switch the view, you just need to change the viewType value and call update(), like this: Switch to day view: dp.viewType = "Day"; dp.update(); Switch to week view: dp.viewType = "Week"; d...

Remove checkboxes

Answered: You can override the CSS for the leaf node icon. For the default theme, the CSS class is called "scheduler_default_tree_image_no_children". See also: https://doc.daypilot.org/scheduler/css-classes/ Y...

Drag and Drop from a TextBox or Label to the Scheduler grid

Answered: It's possible to activate TextBox and Label controls using DayPilot.Scheduler.makeDraggable(). You just need to target the corresponding DOM elements using JavaScript. For example, the <asp:TextBox> ...

Keyboard Control for DayPilot/W3C Accessibility Standards

Are there any current plans for making the daypilot calendar interface keyboard accessible to W3C standards?

How to disable rowheadercolumn resizing?

Answered: The latest sandbox build (2019.2.3812) now supports rowHeaderColumnsResizable property which lets you disable the row header column resizing: dp.rowHeaderColumnsResizable = true; When the resizi...

Adding extra fields in the db

Answered: You can have custom fields in the db table. In ASP.NET, you can load them using DataTagFields property: https://doc.daypilot.org/calendar/event-loading/ https://doc.daypilot.org/month/event-loading/ ...

Allocating a color to each event

Answered: Please see the documentation: https://doc.daypilot.org/month/event-customization/

How can I fix the position of the event when event overlaps?

Answered: You can apply custom sorting rules to overlapping events. Please see the example in the documentation: https://doc.daypilot.org/scheduler/event-sorting/ Let me know if this is not what you are lookin...

External drag and drop not working on application (web forms)

Answered: Please take a look at this demo: https://aspnet.daypilot.org/demo/Scheduler/ExternalDragDrop.aspx The source code of this demo page is included in the download package. You can use it as a starting p...

Multi-year 52 week planner

Answered: Yes, you can use scale: "Week" which uses a week as a cell size: https://javascript.daypilot.org/sandbox/scheduler/scaleweeks.html The week start is determined using the current locale (https://api.d...

How to make a deep-copy of a draggable event onto the scheduler

Answered: Hi Christian, There are two options: 1. You can cancel the default action in onEventMove and create and add the event object manually using a deep copy of the data object: dp.onEventMove = function...

Zoom in/out feture

Answered: Please see the following tutorial that shows how to implement zoom for the Scheduler component in JavaScript: https://code.daypilot.org/32893/javascript-scheduler-zoom

Is it possible to dragdrop an external element ON TO a target existing event and then do post processing?

Answered: You can use standard HTML5 drag and drop API to implement this functionality. Please see the following example: https://code.daypilot.org/12371/javascript-scheduler-events-as-drag-and-drop-target

How to collapse all groups by default ?

Answered: You probably mean the Gantt chart which displays the nodes expanded by default. You can override the default value using row.collapsed property of the data object: { id: 1 start: "2019-01-01T...

Angular 7 - change detection triggered way too much

Answered: There are two factors to take into account: 1. Frequency of change detection cycle calls Angular fires the change detection cycle for pretty much any action, including callback functions that are cal...

How to call custom function in onTimeRangeSelected

Answered: When you use the JavaScript declaration style you won't be able to access the component object as "this": onTimeRangeSelected: function(args) { // ... this.myFunction(); // won't work } I...

DayPilot.Scheduler.onEventResizing missing alt/ctrl modifiers

Answered: I realized now that in documentation even onEventMoving does not have those modifiers documented, but has them when i am debugging, hope that helps.

Get calendar for full year

Hi, I would like to ask how can we get full year calendar? I want to add 12 pages in pdf for 12 months of the selected year. Is It possible with this?

Screen Resolutions and exportAs()

Answered: The Calendar and Month components now support options.width parameter that will let you override the dynamic width calculated from the current view. It's available since build 2019.1.3595 (see the sa...

Render Angular component into DayPilotMonth event

Answered: The onDomAddEvent and onDomRemoveEvent event handlers are not yet supported in all components. In the DayPilotMonth component it's now available since 2019.1.3594 (use the latest sandbox version - ht...

Not being able to click on the scheduler grid for the modal to pop up

in the default.aspx file i can see the the EventClickjavascript calls a javascript method in the event_handling.js file which should work , i wonder if the grid click has been disabled but i cant see...
Questions 1-30 of 3729 Next