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

Questions Tagged how-to

How to disable an specific (the first one) row in Daypilot.Scheduler

Answered: Hi, If you are still looking for a solution. in MVC we have OnEventMove() being called on moving the events. You can probably check if the row is the one which you are looking for to be disabled. In ...

Export to PNG

I am implementing the print functionality in a page that inherits master page in asp.net.so wen I clock on print the PNG generated has all the tabs n stuff which are in master page...How can I get on...

DayPilot Scheduler - Scheduling

Answered: The resource id is available in "resource" variable in TimeRangeSelectedJavaScript: <DayPilot:DayPilotScheduler TimeRangeSelectedHandling="JavaScript" TimeRangeSelectedJavaScript="console.log...

code

please how the compile the source code

block the resize of a column

Is there a way to remove the resize option of one of the header columns ? Thanks

Serialize ResourcesCollection

After I added sessionState in StateServer mode in the web.config. I encountered System.Runtime.Serialization.SerializationException in the serialization of ResourceCollection. The text of the error i...

Scheduler: Prevent Javascript Popup on Cell Click

Answered: Yes, you can simply override the default TimeRangeSelectedJavaScript value with an empty string: <DayPilot:DayPilotScheduler ... TimeRangeSelectedJavaScript="" />

Connection Error when populating Daypilot scheduler

Answered: That should work if you replace OnInit with OnFinish. OnInit is called once per page load, when the Scheduler is first displayed. OnFinish is called at the end of every callback request.

Scheduler: How to disable event move on touch devices?

I'm using angular scheduler. Here is my config: $scope.schedulerConfig = { allowEventOverlap: false, eventResizeHandling: "Disabled", eventMoveHandling: "Disabled", visible: true, scale: "Minute", ce...

How to change the backColor of the timeRangeSelection while timeRangeSelecting event

Answered: You can use the direct cells API, e.g. https://api.daypilot.org/daypilot-scheduler-cells-find/ Just a note - you need to remember the changes made to the cells and redo them when it's finished.

Losing scrollbars when adjusting height dynamically

Hi there, On an event i want to increase/decrease the size of the scheduler and reset the height and width. I have set the HeightSpec to Fixed and on the event the height is set by dps.setHeight(newh...

concurrent event groups

Answered: Now (since build 8.3.2847) you can also access the events in the group using args.group.events array: https://api.daypilot.org/daypilot-scheduler-onbeforegrouprender/ The latest build is available in...

Angular 2, cell bubbles during event move

Hi When moving an event with drag and drop our cell bubbles are shown during drag where the grab handle happens to be placed on the event, instead I would like to display a bubble with the targeted s...

How to capture mousedown on events

Answered: There is onAfterEventRender event that you can use to attach custom listeners to the event div: https://api.daypilot.org/daypilot-scheduler-onaftereventrender/ Example dp.onAfterEventRender = funct...

Angular Scheduler: setting htmlLeft from onBeforeEventRender

Answered: It should be fixed now in the latest sandbox build (8.3.2842): https://javascript.daypilot.org/sandbox/ Let me know if the problem persists.

Reset "args" data in "onEventMoved"

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

Angular 4

Answered: The DayPilot namespace still works the same way. Just import it: import {DayPilot, DayPilotSchedulerComponent} from "daypilot-pro-angular"; And you can use it in the code.

Event overlap javascript

Answered: Found a solution: dc = dp.resources[x].children[y].id; var dcStart = dp.events.find(dc).data.start; var dcEnd = dp.events.find(dc).data.end; var deStart = args.start.addMinutes(30); var deEn...

Move resource server side in Scheduler

Answered: The resources will be displayed in the order specified in the Resources collection. When adding a new Resource just insert it at the specified position or sort the collection before updating the Sche...

Angular 2 scheduler loaded in a dynamic component

Hi, I'm trying to load a scheduler within a dynamic component in Angular 2 but I'm experiencing problems to get events showing in my scheduler. I'm not really sure what's going on but it could be som...

Callendars scrollbars working as one

Answered: You're right, sorry. The latest version requires a different syntax. @Html.DayPilotCalendar("dpc1", ...) @Html.DayPilotCalendar("dpc2", ...) <script> dpc1.nav.bottomRight.addEventListener("s...

Can't get showNonBusiness to work on JS

Answered: I used dayBeginsHour and dayEndsHour instead and that worked perfectly. I'm not sure if showNonBusiness is deprecated, I tried to debug the script and saw those two so I used them. So now my only pro...

Change from sqllite to MS SQL

Answered: Yes, you just need to adjust the $db variable initialization in _db.php: $db = new PDO('sqlite:daypilot.sqlite'); For MySQL you'll need to use something like this: $host = "127.0.0.1"; $port =...

Inverse the axis

Answered: It's possible but you'd have to use the Calendar control switch to the "Resources" mode instead of the Scheduler. You can see a demo here: https://javascript.daypilot.org/demo/calendar/resources.html

dragging from external list focusing on prefer target

Answered: I worked it out using scrollTo & scrollToResource. thanks anyway

New row localization

Answered: It can be changed using "RowCreateHtml" property which is available since build 8.3.3592 (now in the sandbox): https://www.daypilot.org/sandbox/

Hide resource without event

Answered: It's possible to hide the rows without events using client-side row filtering. There is a tutorial available for the JavaScript version of DayPilot Pro: https://code.daypilot.org/97960/html5-schedule...

typescript can't find Property 'makeDraggable'

Answered: DayPilot.Scheduler.makeDraggable() is now included in the TypeScript definitions (since https://javascript.daypilot.org/daypilot-pro-for-javascript-8-3-sp12/).

I'm having troubles with databind

This is my getDate function: Private Function GetCalendarData(ByVal start As Date, ByVal [end] As Date) As DataTable Dim rfTecnico As Integer = Session("idUtente") Dim da As New SqlDataAdapter("stato...

All Day Event Font Color.

Answered: FontColor is now supported for all-day events as well (since build 8.3.3595). You can get the latest build in the sandbox: https://www.daypilot.org/sandbox/
Previous Questions 1321-1350 of 3050 Next