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

Active Questions

Delete events based on ids stored in an array

Answered: array.forEach(function(id) { dp.events.remove(id); });

Click Event/Active Areas not working properly with touch screens

Answered: On touch devices, the active areas with visibility: "Hover" won't be displayed as there is no hover event. In some edge cases, the mobile browsers will fire mousemove event which is used to detect th...

Resource label vertical alignment on concurrent event

Answered: Unfortunately, this is not possible at the moment. You can modify the CSS and show the row header title at the top of the cell (the middle position may not work well for large heights).

How to Hide Context Menu Item

Answered: You can do this in onShow event handler - it's called before the menu is displayed and you can use it to modify the context menu items. You can find an example here: https://api.daypilot.org/daypilot...

How to get resource name instead of ID

Answered: You can get the row object (DayPilot.Row) using rows.find(): dp.onEventMove = function(args) { var row = dp.rows.find(args.newResource); // ... }; It's also possible to use onEventMoving i...

Allow to do a Rectangle selection on Row without snapping to the grid

Answered: This option is now available through snapToGridRectangleSelecting property in the latest sandbox build (2020.3.4604): https://release.daypilot.org/changes/js/

rowsfrozen last row disappear

Answered: This issue should be fixed now in the latest sandbox build (2020.3.4603): https://release.daypilot.org/changes/js/ Let me know if the problem persists.

ScrollToResourse() in dynamic event rendering

Answered: It looks like the onAfterRender event handler wasn't fired properly if args.clearEvents was set to true in onScroll (and that is the default value). It should be fixed now in the latest sandbox build...

Version 2020.3.4594 daypilot-core.d.ts loadingText is a number

Answered: Hi Ruud, Thanks for reporting the issue - it's fixed now in the latest sandbox build and it will be included in the next release: https://release.daypilot.org/changes/js/

Edit appointment screen not showing all fields

Answered: It looks like there is a problem with SQL on line 51 (appointment_edit.php) which works in SQLite but not in MySQL: foreach ($db->query('SELECT * FROM [doctor] ORDER BY [doctor_name]') as $item) { ...

form modal doesn't open

Answered: This seems to work fine: var form = [ {name: "Move From", id: "fromDate", dateFormat: "MMMM d, yyyy"}, {name: "Move To", id: "toDate", dateFormat: "MMMM d, yyyy"} ]; DayPilot.Modal.form(f...

Daypilot Scheduler - Bubble shown on different page

Answered: There is a static DayPilot.Bubble.hide() method that will hide the current bubble immediately: https://api.daypilot.org/daypilot-bubble-hide/

Event counter per day

Hello, I'm building a scheduler with 3 different possible events for each resource and I would like to get the number of these events for all the resources per day. Do you think there is a solution? ...

DayPilot Pro for JavaScript (Web Start) $499

Answered: Yes, the Angular Scheduler component is part of DayPilot Pro for JavaScript: https://javascript.daypilot.org/buy/

exportAs printing method throws an error

Answered: I do not see any error with the latest release so I recommend giving it a try. Please let me know if the problem persists.

Change color on header click

Answered: Please take a look at the following tutorial: https://code.daypilot.org/68382/javascript-calendar-selecting-and-highlighting-columns

Infinite scrolling only works after browser refresh(F5) with version 2020.2.4516

Answered: Version 4516 with the following config it seems to work fine: config: DayPilot.SchedulerConfig = { infiniteScrollingEnabled: true, infiniteScrollingMargin: 20, infiniteScrollingSte...

Angular 9 upgrade : can not install module with my API key

Answered: Can you please contact support@daypilot.org and include your order number?

findByPixels returns cell with incorrect date

Answered: And what's the use case? The purpose of onGridMouseDown is to modify the click + shift/ctrl/meta behavior before the actual events are fired, not to handle clicks on events and cells. Normally you wo...

eventEndSpec and onBeforeCellRender args.cell.events()

Answered: This issue is fixed now in the latest sandbox build (2020.2.4519): https://javascript.daypilot.org/sandbox/
Previous Questions 961-980 of 5055 Next