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

Questions Tagged how-to

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...

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...

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...

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.

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 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.

remove demo

Answered: You'll need to purchase a license: https://javascript.daypilot.org/buy/ The tutorial includes a trial version of DayPilot Pro.

How to add cssClass property per rowHeaderColumn in Tabular mode

Answered: Ok, I played a few hours, looked at the new resource object in tabular mode and came to the following solution. Note that I removed the 'display' attribute, to make sure DayPilot looks at the columns...

Export Scheduler Data

Answered: The best way to export the data is to use the events.list property: https://api.daypilot.org/daypilot-scheduler-events-list/ The Scheduler updates this array with all changes made using the UI (event...

How to add more fields when creating events

Answered: You can use DayPilot.Modal to display a custom page. This approach requires that this page interacts with the server directly. You can find an example in the following tutorial: https://code.daypilot...

Calendar Resources Header width

Answered: Unfortunately, this is not supported at the moment. As you mentioned, it's possible to use fixed column width but it applies to all columns.

Set Display to a Business Year in Scheduler

Answered: Yes, this is possible. You need to modify the row total calculation logic so that it only includes the selected events. The Annual leave tutorial (https://code.daypilot.org/97780/php-annual-leave-sch...

When is the control ready to use?

Answered: The scheduler.control value is accessible since ngAfterViewInit.

How to Disable Weekend Cells

Answered: You can disable selected cells using BeforeCellRender event. Please see more here: https://doc.daypilot.org/calendar/disabled-cells/

onBeforeCellRender

Answered: By default, the results of onBeforeCellRender are cached until the next update() call. You can disable the cache using beforeCellRenderCaching property. See also: https://api.daypilot.org/daypilot-sc...

Scheduler AutoScroll detect autoscroll event

Answered: Unfortunately, this is not supported at the moment.

Context menu

Answered: You can't display a dropdown but you can modify the menu items (e.g. change the icon) on the fly using onShow() event handler: https://api.daypilot.org/daypilot-menu-onshow/

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...

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" /...
Previous Questions 751-780 of 3050 Next