Questions Tagged
Main rows with background color opacity less than 1 don't get covered by fixed rows
Answered: This is by design. The frozen rows are displayed on top of the main grid and if you use transparent background for the frozen row cells you'll see the underlying grid.
Row selection in latest versions.
Answered: The onAfterRender event handler is not a good place to do this. It's only fired if the whole Scheduler is updated. If you want to customize the grid cell elements you should use onAfterCellRender ins...
How to convert php to spring boot
Answered: Unfortunately, this tutorial is not available for Spring Boot at this moment. To see how the Calendar and Scheduler components can be used with Spring Boot backend, please see the following tutorials...
DayPilot Pro for angular
Answered: Yes, the latest release (2020.4.4807) works with any Angular version (since Angular 2).
Update certain columns of the resources
Answered: 1. You can update a single row using rows.update(): https://api.daypilot.org/daypilot-scheduler-rows-update/ 2. It's also possible to change HTML of a specific row header column directly using DayPil...
crosshairType (Full): events part of frozen rows is not highlighted
Answered: The full crosshair is now fully supported in combination with frozen rows in the latest sandbox build (since 2020.4.4811).
Error with fixed rows and certain data
Answered: This issue should be fixed now in the latest sandbox build (2020.4.4810). Please let me know if the problem persits.
Scheduler: keyboard navigation using the Tab-key
Answered: At this moment, no. The keyboard access has no API yet. It will be introduced soon and it will include an option to add custom key mappings.
i want to chart add in codeigniter but data not fetch from conreoller
i want to chart add in codeigniter but data not fetch from conreoller anyone can send me code for codeigniter same chart?
Line between normal and frozen rows
Answered: In the latest version (2020.4.4807), the horizontal lines separating frozen rows from the main grid are now marked with special CSS classes (*_divider_horizontal_frozen_top and *_divider_horizontal_f...
DayPilot cell can't handle three areas
Answered: If you use an old version of DayPilot, I recommend upgrading to the latest release. The "areas" property directly in Cell is a legacy location which is not part of the TypeScript definitions but it's...
How can I remove Gantt chart default name?
Answered: You can override this text using onBeforeTaskRender event, by calling args.data.box.htmlRight = ""; there. See also: https://api.daypilot.org/daypilot-gantt-onbeforetaskrender/
What program should i use for the codes?
Answered: In order to run the project, you'll need PHP, a webserver and a MySQL database server. A decent knowledge of JavaScript is also necessary if you want to customize the project. If you are a complete b...
Angular 6 Zoom level.
Answered: As far as I can see, there is no .start property used in the HTML template in the tutorial. I recommend using the attached project as a reference - it runs fine without any errors.
Floating Events doesn't work
Answered: The floating events are enabled by default. It works as follows: 1. Events that start before startDate will have *_event_continueleft class. This doesn't change with scrolling. 2. The float div (mark...
Initial events load seems to happen before onBeforeCellRender()
Answered: This issue should be fixed now in the latest sandbox build (2020.4.4805). Could you please give it a try and let me know if the problem persists? https://javascript.daypilot.org/sandbox/
Scheduler limit the number of column
Answered: This can't be done automatically but you can calculate the cellWidth value based on the screen size (window.innerWidth) before displaying the Scheduler. You need to take into account the width of oth...
Looking for a coder
Hi :) Hope this is allowd by admin, if not let me know. Im doing a small “home-project” and need assistance with configurering the AJAX Scheduler for JavaScript/PHP. I have some specific behavior i w...
How to show current month on button click?
Answered: It looks like you are missing "configMonth" change in your method:
currentDate(date: DayPilot.Date): void {
this.configDay.startDate = date;
this.configWeek.startDate = date;
this.configMo...
Disable range selection Calendar
Answered: In DayPilot Pro for JavaScript, you can do this using onTimeRangeSelecting event handler: https://api.daypilot.org/daypilot-calendar-ontimerangeselecting/ Unfortunately, it's not available in the Lit...
Declaration-file for Vue.JS
Answered: The TypeScript declarations are now included in the latest sandbox build (2020.4.4792) of the Vue package (daypilot-pro-vue). Please let me know if there is any problem.
Cannot Move back to Current Date on Navigator
Answered: This issue should be fixed now in the latest sandbox build (2020.4.4804).
Scheduler Spacing between Time header and Main area
Answered: You can add a special row frozen to the top of the grid: https://doc.daypilot.org/scheduler/frozen-rows/ You'd have to play with its properties and styling a bit. E.g. you can set custom height using...
Display custom tooltip on areas
Answered: Do you use the DayPilot.Bubble object to display the tooltip? The Scheduler doesn't use any z-index but you might want to check its parent elements. The bubble is displayed using a <div> that is inse...
Disable hours range only in specific date cell
Answered: The first condition is only true for the first cell in a day (which start at 00:00). You need to compare the date part instead:
(
args.cell.start.getDatePart() === new DayPilot.Date("2020-12-02"...
How to add menu and header in angular 6 Day Pilot Gantt chart?
Answered: You can add custom row header columns using columns property: https://doc.daypilot.org/gantt/columns/ The context menu can be added using contextMenuRow property: https://api.daypilot.org/daypilot-ga...
Swap events but keep duration
Answered: The tutorial is now updated and it will keep the duration of both events after they are swapped:
var targetDuration = targetEvent.duration();
targetEvent.data.start = sourceEvent.data.start;...
Scheduler date problem
Answered: Try removing the following section from Page_Load:
DayPilotScheduler1.Scale = TimeScale.Manual;
DateTime start = new DateTime(DateTime.Today.Year, 1, 1, 12, 0, 0);
DateTime end = start.AddYears(1...
Bug parsing datetime
Answered: The first date format ("2020-11-18T13:02:26.249-05:00") is supported and it will work fine. The second date format ("2020-11-18T13:33:24.38-05:00") is not supported at the moment. To see all availabl...