Active Questions
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...
Changing message duration depending on the message "type"
Answered: Yes, this is possible. You can specify the delay using the "options" parameter of the message() method:
dp.message("Welcome!", {delay: 5000});
See also: https://api.daypilot.org/daypilot-schedule...
Idea needed - what control to use to display lots of events?
Answered: The monthly calendar includes a special "cell stacking mode" that lets you set a fixed day cell height and stack all events inside. A vertical scrollbar will be added if necessary: https://doc.daypil...
Can I drag and drop from DayPilotMonth to Navigator?
Answered: Unfortunately, dragging events to the Navigator component is not supported.
ivy - SchedulerModule angular 8
Answered: Hi Chris, Ivy + AOT is now supported in Angular 8 and Angular 9 (since build 2020.1.4238). Please let me know if there is any problem.
Input string is not in the correct format error on Samsung Galaxy Note device
We have a web application that uses DayPilot to display a 1, 3 or 7 day view with the hours along the side. In this view there will be calls that the user can click on to take them to another page. T...
Angular 8 ivy Error "Could not be resolved to an NgModule class"
Answered: Hi Gert, The DayPilotModule class is decorated with @NgModule (the decorators are not visible in the daypilot-angular.min.d.ts file - they get compiled to daypilot-angular.min.metadata.json). DayPilo...
Is a "clear" required when calling again makeDraggable of items?
Answered: The makeDraggable() method adds special event handlers (mousedown, touchstart) to the target DOM element but it doesn't link it to the Scheduler component. It's not necessary to clean the elements ex...