Active Questions
Schedule doesn't update when use navigation
Answered: Sorry I'm got it. must be change the "Scale = TimeScale.Manual" to "Scale = TimeScale.Day"
DataItem not available if ResourceCollection is filled manually
Answered: This change is now implemented in the latest DayPilot Pro for ASP.NET MVC build (8.3.5851). You can download it in the sandbox: http://mvc.daypilot.org/sandbox/ Any object passed using Resource.DataI...
How to swap the calendar btween days left and right
Answered: Unfortunately, using the swipe gesture to change the calendar view is not supported at the moment.
Get current cell in Context Menu
Answered: There is an internal JavaScript API that you can use (assuming ClientObjectName="dp"): Current mouse cursor position as date/time (DayPilot.Date object):
var date = dp.getDate(dp.coords.x, true);
...
Scheduler Half-Hour Border Color
Answered: The easiest way would probably be to insert custom separators at the specified time points: https://doc.daypilot.org/scheduler/separators/
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...