All Questions
DayPilot Responsive
Nice, easy to use package. I saw earlier question about making DayPilot responsive. I poked around in the code and found two lines where percentages are added as comments. I used the percentages inst...
CornerHtml Showing DEMO Even After licence Purchased
Answered: Please make sure that the DLL is reloaded properly. Sometimes it's necessary to remove the old DLL, run the project in Visual Studio (it will report a compilation error) and then add the new DLL. Let...
Css class removed after expanding resource group
Answered: The CSS class added using addClass() is now persisted to DayPilot.Scheduler.resources[].cssClass and it will survive update() calls. It's implemented in the latest sandbox build (2018.4.3445): https:...
Context menu on event creates an extra div
Answered: The purpose of the additional active area div is to keep the icon visible even when you move the mouse out of the event box. It was incorrectly activated for visibility: "Visible" as well. It's now f...
Showing tasks on group level
Answered: Hi Nikola, I see. It's possible to use parents as well. Some examples use "treePreventParentUsage: true" setting to disable the parent rows but the default it to enable drag and drop for all rows. Se...
Is it Possible to show time on horizontal axis and date om vertical axis in calendar control
Answered: Unfortunately, this is not possible with the Calendar control - but this kind of view is served well by the Scheduler control.
Drag and drop into Angular schedular
Hi there Is it possible to drag and drop an external object into the Angular scheduler? Do you perhaps have an example or demo of dragging and dropping from another component into the scheduler?
Modify end datetime in beforeEventRender
Answered: Unfortunately, it's not possible to change event start/end in onBeforeEventRender. You'd have to modify the data source before assigning it to dp.events.list. It might be more convenient to do it on ...
BeforeEventRender EventClickEnabled Not Working
So when form loads and calls beforeeventrender, I have it set for all pre-created events to have the e.eventclickenabled = false (by looking at e.id and make sure its all old ids versus new ids). Whi...
Is bolding of navigation calendar dates available in Lite version?
Answered: Unfortunately, loading free/busy Navigator data is not supported in the Lite version at the moment.
How to identify the new scheduler that the event was moved to?
Answered: You can identify it in onEventMove event handler - "this" object will point to the target Scheduler. This will work even if you reuse the same event handler function for all Scheduler instances.
dp...
Display Context Menu On Touch Device Tap
Hi there, I am trying to display the scheduler event context menu when the user taps on the event from a touch device. I want this behavior to happen only on touch devices (small screens) not on desk...
Angular 6 Gantt - Cannot read property 'internal' of undefined
Answered: You can fix this bug by installing the latest sandbox build:
npm install https://npm.daypilot.org/daypilot-pro-angular/trial/2018.3.3413.tar.gz --save
start date and end date
Answered: You can use "startDate" to change the visible date range: https://doc.daypilot.org/calendar/manual-date-switching/ The end date is calculated automatically, depending on the viewType value (https://d...
How to disable or hide the expand/collapse button on resources
Answered: Sorry for the delay! You can hide it using custom CSS. For the default theme (scheduler_default) you can use something like this:
.scheduler_default_tree_image_no_children,
.scheduler_default_tree...
Format date in timesheet mode (Angular 5)
Answered: By default, the timesheet uses the short date format specified using the current locale for the day headers. You can customize the text using onBeforeRowHeader render event handler:
config: any = {...
How to routing on onEventClicked: function (args) { } ANGULAR
Answered: Try using the TypeScript syntax:
constructor(private router: Router) { }
config: any = {
onEventClicked: args => {
this.router.navigate(.....);
}
}
When using the JavaScript syntax "...
How to use bubblehtml on angular5
Answered: Please make sure that eventHoverHandling property is set to "Bubble":
config: any = {
eventHoverHandling: "Bubble"
};
This is the default value but the current version of the UI Builder (http...
Disable cells previous to the current datetime
Answered: Unfortunately, DayPilot Lite doesn't support disabled cells. However, you can check the dates in onEventMove, onEventResize, and onTimeRangeSelect events handlers and call args.preventDefault() to ca...
How use Scheduler component on html component
Answered: For Angular 5 Scheduler project please see the Angular 5 Scheduler Quick Start tutorial: https://code.daypilot.org/87636/angular-5-scheduler It includes the basic setup required in Angular 5. You can...
daypilot calendar bubble bug (angular, general)
Answered: This issue should be fixed in the latest sandbox build (3394): https://javascript.daypilot.org/sandbox/calendar/index.html Please let me know if the problem persists. A new release with the bug fix w...
On Premise Solution
Answered: Yes, this is how it works - it's a library that you can use in your own application. It will work with your database just fine. See also the ASP.NET tutorials to see example applications that access ...
Disabled Cells
Answered: What version of DayPilot Pro are you using? Disabled cells prevent all drag and drop operations, as you can see here: https://javascript.daypilot.org/demo/scheduler/cellsdisabled.html
Book few rooms in one go
Answered: It's possible to select multiple time ranges at once if you enable time range multiselecting as described here: https://doc.daypilot.org/scheduler/time-range-multi-selecting/ See also a demo (MVC ver...
Prevent event card scaling when at view boundry
Answered: You can disable this behavior using floatingEvents property:
dp.floatingEvents = false;
See also: https://doc.daypilot.org/scheduler/floating-events/
Ability to adapt to the user timezone
Answered: Unfortunately, automatic time zone handling is not supported at the moment. This is a desirable feature but it's not trivial and it's in the research phase now. I can't promise any delivery date at t...
Error while updating cell html after eventMove
Answered: Hi Simone, You should try to avoid the direct cell modification. The Scheduler supports OnBeforeCellRender event handler on the server side which will let you specify the cell content in a more decla...
Issues with type definitions
Answered: Sometimes, it can happen that the TypeScript definitions are missing a declaration of a specific member, especially if it has been added recently. Your examples: 1. commandCallBack() method is specif...
Scheduler Timeheaders
hello im using the latest version of daypilot pro for scheduler i have the following issue , if i customize one of the timeheaders , it doesnt render properly. ,sometimes it renders correctly , and s...