Active Questions
is there a way to update/refresh/re-render a single cell based on the resource id and date ?
Answered: By default, cell properties customized using onBeforeCellRender are cached until a full update(). 1. If your cell content depends on the overlapping events you can simply turn the caching off:
dp.b...
Drag en drop Events wittout overlap in an different Timeline
Answered: To display the customized timeline it's necessary to call loadTimeline() before init(). In the attached project, you can find this call on line 154 (index.php). If the model used in the tutorial does...
Week View start date not correct in some timezones
Answered: The date calculations shouldn't be affected by the system timezone because all internal calculations are done using the UTC base of the dates. It is however affected by the format you use to specify ...
problem on Event click
// i clicked on a event , the modal is showing , when i change in the first event all is fine but when i clicked another time on another event the args.e.id() have two values , the first event id and...
How can I remove the scroll?
Answered: Please see the height configuration options here: https://doc.daypilot.org/calendar/height/ The "BusinessHoursNoScroll" and "Full" values of HeightSpec will display the Calendar component without the...
Does the DayPilot Scheduler respect WCAG 2.0?
I want to include Accessibility in this, please let me know is it provide or not.
Need an ability to update individual Row without updating the control - dp.Update()
Answered: Please see my reply here: https://forums.daypilot.org/question/4786/change-the-height-of-the-row-without-firing-events-for-all-
How can I remove the demo tag?
Answered: You need to replace DayPilot.Web.Mvc.dll and daypilot-all.min.js files in your project with the ones from the full version zip file.
How can I make a filter per user?
Answered: You can add a custom constructor that will accept additional parameters: Action:
public ActionResult Backend()
{
var userId = ....
return new Dpc(userId).CallBack(this);
}
Dpc class:
pu...
Korean language support
Answered: Korean locale ("ko-kr") is now added in the latest sandbox build (2019.3.3983).
Bubble not showing up
Answered: You can specify the event bubble content using "bubbleHtml" property. Assigning new DayPilot.Bubble() to dp.bubble is not necessary (it uses an empty Bubble object by default). Example:
dp.events.l...
How to populate the Daypilot scheduler based on Offsigner
Answered: You can apply custom event sorting: https://doc.daypilot.org/scheduler/event-sorting/ Another option would be using a standalone row/resource which would define the position without additional tweaks.
Drag Drop events not working in IE 11
Answered: You can get the latest version of DayPilot Pro in the customer area (if you have an active maintenance subscription): https://www.daypilot.org/customers/ It looks like you are using DayPilot Pro for ...
How do i change local and date format to fr-fr
Answered: You can change the culture/locale to "fr-fr" using DayPilot.Scheduler.locale property: https://api.daypilot.org/daypilot-scheduler-locale/
How can I only allow single row select?
Hi, I want to be able to select a single resource at a time (don't allow multiple rows selected). Is there a property or I should somehow handle this?
Little issue with css and areas
Hi, I'm using the following code in the onBeforeEventRender:
if (data.layer === 7) {
args.e.cssClass = `${args.e.cssClass} fas fa-times`;
}
if (!data.mo...
No next cell found - error thrown
Please advise on the following error: I have two Daypilot timesheets based on with the following settings: eventHeight: 60, heightSpec : 'Max', height: 350, cellWidthSpec: 'Auto', cellWidthMin: '25',...
Red color for the Message
Answered: It's possible to change the background color using CSS. 1. You can create a custom theme: https://themes.daypilot.org/scheduler/create 2. You can override the background color specified using the def...
Multiple Schedulers Scroll Lock
Answered: Yes, but you need to do it on the client side:
// scrollbar synchronization
$(document).ready(function() {
$(dp.nav.scroll).scroll(function() {
dp2.nav.scroll.scrollL...
How to be able to select a row and also have double click working?
Answered: The row double click is not enabled by default. If you enable it using rowDoubleClickHandling = "Enabled" you'll be able to use both single and double click event handlers: https://api.daypilot.org/d...