Active Questions
Combining events with the same name
Due to the recordset I am dealing with, I always have records with the same event next to each other. I can't explain it very well, but I do have an image of what I have and what I am trying to achie...
Angular 2 Support
Answered: The first Angular 2 version of the Scheduler is now available: https://code.daypilot.org/67423/angular-2-scheduler-tutorial-typescript It's in an early stage. However, the following is working: DayPi...
Differences between Calendar and Scheduler + Why a person would choose between them?
Hi Dan and Team, Please would you explain the differences between a Calendar control and Scheduler control and why one person would choose between them? I've inherited some code which I am progressin...
Somebody please prevent this error
Answered: 1. If you want to use this event handler to customize the Navigator cells you need to add the method to the code behind:
protected void DayPilotNavigator1_OnBeforeCellRender(object sender, Befo...
When setting timezone to australia/sydney event in day calendar shows 30 mins late
i use moment js to arrange time my calendar config: $scope.calendarConfig = { startDate: moment().utcOffset(11).format('YYYY-MM-DD') } in my database there is different field for time and date so i u...
Event Text Color on Export
Answered: On the client side, you should be able to change the font color using args.fontColor:
dp.onBeforeEventRender = function(args) {
args.fontColor = "red";
};
See also: https://api.daypilot.org/d...
JavaScript Source from Pro Purchase
Answered: The JavaScript files in in the ASP.NET WebForms are not licensed for standalone usage - they can only be used within the DLL as embedded resources. If you prefer using the JavaScript version you can ...
Custom weekend days
Answered: The onBeforeCellRender applies the properties (business/non-business) to grid cells. The business status can be set for each cell separately and it's possible that cells in the same column will not h...
Row Filter
Answered: Since build 2535 you can call
dp.rows.filter("filter");
before .init() to apply the filter. You can get the latest build in the sandbox: http://javascript.daypilot.org/sandbox/ Let me know if it ...
how to use suport
Answered: You can ask your question here in the forum: https://forums.daypilot.org/question/new Or you can contact support directly: support@daypilot.org.
Android tap on event triggering time range selected in month Daypilot.Month view
IOS works fine however taping on an existing event in the Daypilot Month view using an android devices is also causing the onTimeRangeSelected to be fired shortly afterwards.
box.html in Gantt Task not displayed of a GroupTask
Setting the box.html is not displayed. See following in documentation box.html (if not specified, complete percentage is used for tasks, empty string for groups and milestone) Setting box.htmlLeft ha...
How to change cell color on current row
Answered: You can modify the cells on the fly using the cells API, e.g.
dp.rows.find("A").cells.all().html("A");
You can also add/remove CSS classes using .addClass() and removeClass(). See also: https://a...
Asp Net MVC5
Answered: It's a propery of the Task class. You can set the value like this:
Tasks = new TaskCollection();
Task task = new Task("Task 1", "1", DateTime.Today, DateTime.Today.AddDays(5));
task.Complete = ...
Error with attribut "cellgroupby" And "scale"
Answered: It looks like you are using the Lite (open-source) version that doesn't support these features. See also the "Availability" table at the bottom of the documentation pages: https://doc.daypilot.org/sc...
Prevent drag event
Answered: > Is there a javascript function (or postback event) that I can use for this feature? EventMoving event (https://doc.daypilot.org/scheduler/event-moving-customization/) is a good way to implement it....
Enable saturday and sunday on ShowNonBusiness=false
Answered: The latest build (8.3.3548) introduces BusinessWeekends property which you can use to set the behavior (the default value is false):
<DayPilot:DayPilotScheduler
...
BusinessWeekends="true"
...
RowHeaderColumn change after EventResize
Answered: By default, events are not stored anywhere so you need to reload them (use DataSource and DataBind just like in Page_Load):
Public Sub dpCalendar_EventResize(sender As Object, e As DayPilot.Web.Ui....
Prevent dragStart from removing list item
Answered: Oh, found another answer that seems to have answered this. The first parameter needs to be null, not that last parameter as indicated in the above link. onmousedown='return DayPilotCalendar.dragStart...
Closed modal not cleaning up after itself?
Answered: This is how it works at the moment: If the modal displays a URL (and not custom HTML) it creates an iframe object and uses it to display the target page. Creating the iframe is expensive so it keeps ...