Active Questions
Area selection
Answered: 1. Active areas that specify the "action" property will not let the mouse click event bubble to the underlying event and the event click action won't be fired. You'll need to leave the "action" value...
Row Sort Event/Property for scheduler
Answered: Since build 2020.1.4264, it's possible to read the current sort criteria using DayPilot.Scheduler.rows.sortParam property (read-only): https://api.daypilot.org/daypilot-scheduler-rows-sortparam/
Vue.js: export and download scheduler as svg
Answered: If you follow this tutorial: https://code.daypilot.org/69423/vue-js-scheduler-build-a-reservation-application-in-5-minut you will be able to access the DayPilot.Scheduler object as "this.scheduler". ...
crosshair and shifted timelines
Answered: Hi Simon, This should be fixed now in the latest sandbox build (2020.1.4271): https://release.daypilot.org/changes/js/ Let me know if the problem persists.
Scheduler Event Phases
Answered: The event phases are displayed using active areas (https://doc.daypilot.org/scheduler/event-active-areas/). Active areas are rectangles inserted into events. The can be positioned using css-like left...
Problems between Infinite Scrolling and Switcher over Scheduler Calendar
Answered: The Switcher is only necessary if you want to manage different components, e.g. DayPilot.Calendar for the week view and DayPilot.Month for the Month view. If you are using two different configuration...
Doesn't show all events on live server
Answered: I recommend using the browser developer tools (Network tab) to check what is being loaded and at what point. The loading logic may not be correct. The development environment usually has much lower n...
Daypilot Day view but without the time - possible?
Answered: If you want to display one week, you can use the Month view and use the Weeks view:
<DayPilot:DayPilotMonth
ID="DayPilotMonth1"
runat="server"
...
ViewType="Weeks"
Weeks="1"
/...
Column header click event
Answered: There is now a new onBeforeRowHeaderColumnRender event available in the latest sandbox build (2020.1.4266): https://release.daypilot.org/changes/js/ You can use it to add custom active areas to show ...
DayPilot in lit-element (Web Components)
Answered: Yes, that fixes it. When is the next release planed? After having worked with many different companies offering similar services I have to say: extraordinary work! Thanks a lot!
Event on tals collapse/expand?
Hello, How do I fire an function when an user collapses or expands a row of the Gantt? I am using the angular version.
Trial ASP.net MVC pro will not run at all
Answered: The demo project in the download packages uses MVC4 which needs to be installed globally using this link: https://www.microsoft.com/en-us/download/details.aspx?id=30683 See also: https://mvc.daypilot...
Resources names are not displayed
Answered: The "name" property, as well as "id" must be in lower case. See also: https://api.daypilot.org/daypilot-scheduler-resources/ Please note that this is not the free Lite version but a trial version of ...
ERROR Error: DayPilot.Scheduler: The placeholder element not found: 'dp_158159830263098078'.
Answered: You can use *ngIf on the <daypilot-scheduler> element:
<daypilot-scheduler [config]="config" [events]="events" #scheduler *ngIf="visible"></daypilot-scheduler>
You can also create the component d...
height of scroll field
Answered: If you are using heightSpec="Parent100Pct" you'll need to call the show() method to fix the height based on the new parent element height: https://api.daypilot.org/daypilot-scheduler-show/
How to use daypilot pro javascript OEM license
Answered: Could you please contact support@daypilot.org and include your order number?
How to populate second RowHeader from database
Answered: You can set the column data source using "display" property of the rowHeaderColumns[] array items: This requires DayPilot Pro for JavaScript version 2019.4.4073 or later (with the tabular mode suppor...
Overwriting an event backColor seems to remove capability to change selected color
Answered: You can do this by adding the following CSS:
.scheduler_default_selected {
background-color: black;
}
.scheduler_default_selected .scheduler_default_event_inner {
opacity: 0.7;
}
It als...
why e.CssClass doesn't load the css?
Answered: The CssClass property specifies the CSS class that will be applied to the DOM element (in this case an event) in addition to the built-in CSS classes. It's not the name of the stylesheet file. You ca...
DayPilot.GanttConfig doesn't include onRowCreate
The type definitions of Daypilot.GanttConfig (daypilot-pro-angular 2020.1.4216.) Don't include the function type OnRowCreate Nor is it included in the api docs https://api.daypilot.org/daypilot-gantt...