Questions Tagged
For Database
Answered: There is no specific PostgreSQL tutorial available but you can check the Angular + MySQL tutorials: https://code.daypilot.org/tutorials/mysql+angular In order to switch the tutorials to MySQL you'd n...
Better represent events that start or end outside of the scheduler period
Answered: Such events are marked with ".scheduler_default_event_continueleft" and ".scheduler_default_event_continueright" CSS classes (for the default theme). At this moment, there is no style associated with...
Displaying Group Availability without disable row
Answered: This is the code that calculates the group availability (https://code.daypilot.org/97538/javascript-scheduler-displaying-group-availability):
onBeforeCellRender: function(args) {
if (args.cell.i...
Read only
Answered: The "allowDefaultContextMenu" property lets you enable the default browser context menu. By default, this is disabled for the Scheduler so that you don't see the browser context menu over the Schedul...
Color ressource according status
Answered: The row header background color needs to be set using onBeforeRowHeaderRender event. The onBeforeCellRender only sets properties of the grid cells. It could look like this:
dp.onBeforeRowHeaderRend...
Resource Bubble Not Working
Answered: In the recent versions, there seems to be a problem with displaying the resource bubble when hovering the first resource (Angular only). When you move the mouse to another resource, it works fine. Th...
No of Days Calculation is getting reduced by One Day
Answered: If you only work with full days, you can switch to eventEndSpec="Date" mode which will translate the end date to "end of day": https://doc.daypilot.org/scheduler/event-end-date-time/ But that will no...
Daypilot Navigator in french
Answered: Yes, just specify the locale when creating the DayPilot.Navigator instance:
var nav = new DayPilot.Navigator("nav");
nav.locale = "fr-fr";
nav.init();
See also: https://api.daypilot.org/daypilo...
Get day select in DayPilot Navigator
Answered: Yes, you can use selectionDay: https://api.daypilot.org/daypilot-navigator-selectionday/ If you have a Navigator instance called "nav":
var nav = new DayPilot.Navigator("...");
// ...
you can re...
License
Answered: The tutorial is available under a trial license which is limited to testing and evaluation. If you want to use it in your project you'll need to buy a license: https://aspnet.daypilot.org/buy/
Hotel Related - Book Multiple rooms for a single client
Answered: Yes, this is possible and there are several options: 1. You can select multiple time ranges using Ctrl+drag: https://doc.daypilot.org/scheduler/time-range-multi-selecting/ 2. You can create the reser...
COPY PASTE
Answered: You can access the original data object as "e.data". Example:
var newEvent = new DayPilot.Event({
start: args.newStart,
end: args.newEnd,
text: "text " + args.e.text(),
lieu: "lieu " + ...
Switch Weekly Daily
Answered: Please take a look at this tutorial: https://code.daypilot.org/61574/javascript-scheduler-switching-day-week-month-views Since the Hotel tutorial doesn't use "scale", "days", and "startDate" to gener...
DayPilot pro demo License request
Answered: Hi Jeffrey, Can you please send an email with a link to this question to support@daypilot.org? Thanks!
Can we show DayPilot Calendar in Hebrew Language?
Answered: The Hebrew locale is not included in the built-in set. You can create and register it using DayPilot.Locale.register() function: https://api.daypilot.org/daypilot-locale-register/ But please note tha...
Display public holidays from date given
Answered: It's necessary to specify the holidays using full date, i.e. you need to specify it for all years that are applicable.
How display not only a current month?
Answered: You can specify the number of days using days property: https://api.daypilot.org/daypilot-scheduler-days/ This way you can display as many months as you need.
How to include this scheduler to spring boot?
Answered: > SO the question is how can I send as a response this data from database to the jpa and to display it on the scheduler correctly. This is what the tutorial is trying to explain in "Loading Scheduler...
implement DayPilot.Scheduler.treeAnimation for Daypilot.Gantt
Answered: It's now available in the latest sandbox build (2020.1.4318): https://release.daypilot.org/changes/js/
Javascript (Gantt Chart)
Answered: The full list of properties that can be specified in the source data object or in onBeforeTaskRender can be found here: https://api.daypilot.org/daypilot-task-data/
Backcolor's make event text un-readable
Answered: The backColor property will accept all color formats defined in the CSS spec (it's translated to an inline "background" style): https://developer.mozilla.org/en-US/docs/Web/CSS/color_value To specify...
How can i use angular 6 day-pilot in mobile?
Answered: The components will work on mobile devices as well. 1. You may want to make some dimension adjustments (like the row header width in the Scheduler) depending on the device width. 2. You'll also need ...
Angular Scheduler: resources and events rows get desynchronized with scrollIntoView
Answered: Unfortunately, it's not possible to scroll the page using the row header this way. If you really have to do it, you'll need to use an element from the main grid (e.g. a cell). This will keep both pan...
Angular Scheduler: no window vertical scroll on resource header when heightSpec=Auto
Answered: This issue should be fixed now in the latest sandbox build (2020.1.4311): https://release.daypilot.org/changes/js/ Please let me know if it doesn't work as expected.
Angular Scheduler: Slow Scrolling on Resource Headers with Firefox
Answered: This issue should be fixed in version 2020.1.4249: https://javascript.daypilot.org/daypilot-pro-for-javascript-2020-1-4294/ Please let me know if the problem persists.
Angular Daypilot Scheduler ngOnDestroy
Answered: The message appears if you deploy the trial version. The trial version can only be used for evaluation and this message is a reminder that you need to purchase a license: https://javascript.daypilot....
DayPilot Pro for JavaScript > Installation
Answered: Hi Rafael, Yes, exactly. You just need to replace daypilot-all.min.js with the one from the licensed version.
ERROR in ./node_modules/daypilot-pro-angular/daypilot-angular.ngfactory.js
Answered: This issue is now fixed in the latest sandbox build (2020.1.4301).
Can we get a new onSort event
Answered: It's now available since build 2020.1.4314: https://release.daypilot.org/changes/js/ The event is called DayPilot.Scheduler.onRowSorted.
angular timetable for school and class weekly timetable
is there any option to schedule a week for school / class timetable with custom timings and custom blocks?