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

Questions Tagged how-to

OnTimeRangeSelection on new version ||||How to change the arguments passed to onEventMoved/onEventResized?

Answered: > 1) On the new release, i can’t actually select a cell using left click. This was a nice nice-to-have since and now if i want to see a selected cell i have to click right. What can i do? There has b...

I Need help to use : args.areaData

Answered: When resizing the inner section, you need to adjust the args.start and args.end values in the onEventResizing event handler. This is explained in the following tutorial: JavaScript Scheduler: Warm-Up...

Continuous Events

Answered: The event can’t go forever (you need to specify start and end time) but it can be very long.

Confirmation prompt of event resize or event move

Answered: You can find an example in the documentation, Event Moving page (expand the ASP.NET WebForms section to see it): <DayPilot:DayPilotScheduler runat="server" id="DayPilotScheduler1" ... Clien...

How to remove "old" header area

Answered: After changing the holiday definitions (globalHolidays), you need to call the update() method to refresh the Scheduler. This will generate a new time header (using onBeforeTimeHeaderRender). Also, ma...

daypilot-lite-angular allowEventOverlap=false

Answered: Unfortunately, the real-time event overlap protection is not supported in the Lite version at the moment. It is only available in the Pro version (see also the feature matrix). However, you can check...

Unavailable cells not working properly

Answered: If you want to disable Scheduler cells for drag and drop operations, it is necessary to mark them as disabled in the onBeforeCellRender event handler. The unavailable property of resources is not a s...

Scale={"Manual"} with 30 minutes cells

Answered: To display time cells with custom duration defined in minutes, you need to set the scale property to "CellDuration": scale={"Manual"} cellDuration={30] Another option would be to use scale={"Manual"...

select form with remote search

Answered: oeps i see you can change it to type: "searchable", so that works :-)

I need only snap to grid animation.

I don’t want my data to be altered, so i want to be able to free move my event but when released or resized, acting like snap to grid was true. What can i do?

How to create a full width menu under column header.

Answered: There is no easy way to do this. You can try detecting the cell dimensions using the internal dp.nav.main property which stores the DOM parent of grid cells.

Daypilot React- Make left click work the same as right click

Answered: The time range selection always stays active, until you call clearSelection() or update the calendar. You might want to check your onTimeRangeSelect/onTimeRangeSelected handlers.

Daypilot React Scheduler - Row Header Customization with multiple columns

Answered: Unfortunately, custom React components in multiple row header columns are not supported at the moment. Until it is available, you can try using row header active areas to show the icons.

How to get a bubble on the time column headers in the scheduler.

Answered: You can show the bubble using a time header active area: onBeforeTimeHeaderRender: args => { const header = args.header; args.header.areas = [ { left: 0, ...

Removing all tasks from a gantt chart without disposing of it

Answered: When you need to load a new task set in the Gantt chart, the best way is to replace the tasks with a new array: const tasks = [ /* ... */ ]; dp.update({tasks}); There is no need to clear the events ...

Separator on TimeHeaders

Answered: You might need to check the value of startOfMonth. Please make sure that it contains correct dates. My guess is that the values don’t correspond to the current view when the separators are not visibl...

Scheduler businessEndsHour later than 24

Answered: The Scheduler has built-in support for quick specification of business hours using businessBeginsHour and businessEndsHour but businessBeginsHour needs to be smaller than businessEndsHour. For more c...

Uncaught TypeError: Cannot read properties of null (reading 'style')

daypilot-core.js:17 Uncaught TypeError: Cannot read properties of null (reading 'style') at DayPilot.Calendar.Ea (daypilot-core.js:17:14081) at DayPilot.Calendar.La (daypilot-core.js:16:23322) at Res...

Put a Swap button on the context menu

Answered: Please take a look at the following tutorial: JavaScript Scheduler: Swap Events using Context Menu

Highlighting multiple dates in scheduler

Answered: You are overwriting the onBeforeCellRender event handler several times and only the last value is used. You need to check the dates against the list of highlighted days inside onBeforeCellRender. Thi...

How to collapse tasks based on field from database

Answered: In onBeforeTaskRender, it is only possible to access the raw data object (args.data). The DayPilot.Task object is not available yet. To collapse the rows, you can set the args.data.row.collapsed prop...

DayPilot React: When Event is moved I wanna ask a question if they are sure they wanna move it

Answered: Yes, you can find an example in the documentation for event moving: onEventMove: async (args) => { args.async = true; const modal = await DayPilot.Modal.confirm("Do you really want to move this...

SnapToGrid: false destroys Time Range Selection.

Answered: It’s in the queue, please hold on!

Gantt chart

gantt chart attech in asp.net c#?

How do i delete a full row?

Answered: You can add a delete icon to the Scheduler row headers using an active area. onBeforeRowHeaderRender: (args) => { args.row.areas = [ { right: 3, top: 3, ...

How to use angular component in bubble HTML

Answered: Sorry for the delay! There is a tutorial that shows how to insert an Angular component to the bubble. Angular Scheduler: Dynamic Tooltip It is necessary to instantiate the component and add it to the...

Collapse task in DayPilot.Gantt

Answered: The tasks.list array holds the raw data objects (they don’t have any methods). The method you need is DayPilot.Task.row.collapse(). You can call it like this: this.gantt.tasks.find(row.id).row.collap...

Accessing the args data for an event being moved, not the new values for start, end and possibly resource

Answered: In the onEventMoved event handler, the event object (args.e) is already updated to the new values. If you want to get the old values, you need to use onEventMove where the args.e property stores the ...

<daypilot-scheduler> is not a known element

Answered: It is necessary to add DayPilotModule to the imports section of the module where you want to use <daypilot-scheduler>. Example from the Angular Scheduler Quick Start tutorial: import {DataService} fr...

Adding custom filters

Answered: To apply the filter, it is necessary to call the rows.filter() method with a non-null parameter. It also updates the UI (no additional update() call is necessary). This filter parameter is then store...
Previous Questions 31-60 of 2928 Next