Questions Tagged
Scheduler navigation with JQuery Datepicker.
Hi, I have some issue with navigation with JQuery Datepicker. I have already test on local computer it's OK (has 7 days). But when I publish the project to azure the scheduler has 8 day. Not sure thi...
Call function in blade view laravel
Hello, there i using this js with laravel, how to call the function (e.g. loadResource-load event) in blade view? and how to call data from database? Thanks
reloading events on scheduler from server after initialization
I'm using a demo version of the scheduler pro for angularjs and am pulling in angulerjs v 1.3.8. I'm having difficulty re-loading the scheduler with events after the control has been initialized. Eve...
Displaying total hours when adding or editing shifts in daypilot scheduler control
Answered: The following tutorial (for AngularJS 1.x) shows how to display total time occupied by events in each row: https://code.daypilot.org/54503/angularjs-timesheet-tutorial-javascript-php You can use the ...
'CalendarController.Dpm.OnInit(InitArgs)': no suitable method found to override
Answered: It looks like you are missing the following import:
using DayPilot.Web.Mvc.Events.Month;
You can also add the full namespace to the header:
protected override void OnInit(DayPilot.Web.Mvc.Event...
How to block (and show) a complete day
Answered: If I understand it correctly you are asking for something slightly different than the original question: https://forums.daypilot.org/Topic.aspx/2944/how-to-block-and-show-a-complete-day Konrad would ...
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.
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...
Schedule doesn't update when use navigation
Answered: Sorry I'm got it. must be change the "Scale = TimeScale.Manual" to "Scale = TimeScale.Day"
How to get Date from Navigator using JavaScript and copy to textbox
Answered: 1. You can get the current selection using the following properties: * nav.selectionDay - the exact day that was clicked * nav.selectionStart - start of the selection * nav.selectionEnd - end of the ...
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...
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);
...
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...
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...
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...
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 ...
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...
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...
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...
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"
...
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....
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...
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...
problem with overlaps in Server.
Answered: The Scheduler supports client-side overlap detection (https://doc.daypilot.org/scheduler/event-overlapping/). This helps with real-time UI feedback but it's also necessary to implement server-side va...
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 do I disable TimeRangeSelection for a particular date (Ex sunday)
How do I disable TimeRangeSelection for a particular date (Ex sunday) Can i select particular time slots rather than all time slots? Is there any way I can call the daypiloyt modal window from a MVC ...
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....