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

All Questions

Event move

Hi While moving the event,event is resizing.How to prevent resizing while moving the event Thanks

Want to show Cell in color

I want to apply color for cell if respective date is having more than 1 count...I am using now dp.onBeforeCellRender() for the same. But its not very usefull for me.

TimeRangeSelect shadow backcolor

How to customize the background-color of the timeRange on selecting?.

Uncaught String expected Error when export shceduler to jpeg

Answered: the stack trace of the error: daypilot-all.min.js:10 Uncaught String expected text @ daypilot-all.min.js:10 (anonymous) @ daypilot-all.min.js:26 a.each @ daypilot-all.min.js:9 (anonymous) @ daypilot-...

AreaCollection in Calendar

Answered: The active areas are supported in Calendar cells but only with fixed positioning using area.Left/Right/Top/Bottom. Positioning using area.Start and area.End is not supported at this moment.

modal dialog

Answered: You need to add the buttons yourself. The showHtml() doesn't add anything to the HTML and only displays what you supply. You can close the dialog by calling modal.close() method.

Why is some of the Calendar bar another color, sometimes?

Answered: By default, the event boxes are aligned with the grid (useBoxes="Always", see also https://doc.daypilot.org/calendar/exact-event-duration/). The duration bar is filled with the lighter color. The dar...

Overlapping events mode

Answered: You can find the overlapping event arrangement options here: https://doc.daypilot.org/calendar/event-arrangement-mode/

What determines if an Event is shown?

Answered: Each column uses two key properties: id start The basic rule is that event.start must be within the specified day (column.start) and the event.resource must match the column id (column.id). Plus: 1. ...

Apply style sheet in sheduler

Answered: The Scheduler marks the important elements with custom CSS classes (the names are derived from the theme names). You can find the list here: https://kb.daypilot.org/62119/list-of-css-classes-used-in-...

[Issue] DayPilot Month fires error "NotFoundError: Node was not found"

Answered: Hi all, after a hour, I anwsered by myself. Here is my solution: dpm.onTimeRangeSelected = function (args) { dpm.clearSelection(); args.preventDefault(); }

Following Event Editing example, but id is incorrect

Answered: I solved this. The documentation is incorrect for ASP.NET Web Forms. It tells you to use the following code: EventClickHandling="JavaScript" EventClickJavaScript="editEvent(e.id);" But this doesn't w...

Active drop-area in Calendar

Answered: You can use the real-time event handlers to check custom conditions: https://api.daypilot.org/daypilot-scheduler-oneventmoving/ https://api.daypilot.org/daypilot-scheduler-oneventresizing/ https://ap...

Resource Bubble no longer working

Answered: I confirm the bug. It's already fixed in the latest sandbox build (8.4.3627): https://aspnet.daypilot.org/sandbox/ There will be a new release available shortly. Let me know if the problem persists.

Is there any way to capture when the current date changes

Answered: In the ASP.NET version, you can subscribe to "onscroll" event on the main scrolling area. This element is accessible as "dp.nav.scroll" on the client side (where "dp" is the value of ClientObjectName...

Incorrect position of bubble on event mouse hover in scheduler

Answered: Thanks! It should be fixed now in the latest sandbox build (8.4.3072): https://javascript.daypilot.org/sandbox/ Let me know if there is any problem.

getting selected events

Answered: This seems to work fine for me: var dp = new DayPilot.Scheduler("dp"); // ... dp.onEventMove = function (args) { var selectedEvents = dp.multiselect.events(); }; dp.init(); If it still d...

Custom Tag - how to?

Answered: Your second example seems to work fine for me (in both AngularJS and plain JavaScript version). Just a couple of comments: 1. As you have noticed already, dataTagFields is not used in the JavaScript ...

Restrict the event to one week

Answered: You can customize the drag and drop operations using the real-time events: https://api.daypilot.org/daypilot-scheduler-oneventmoving/ https://api.daypilot.org/daypilot-scheduler-oneventresizing/ http...

Apply theme to scheduler

Answered: All themes (except of the embedded "scheduler_default" theme) are defined in separate css files which need to be included in the HTML page. You can find the themes in "demo/themes" directory of the d...

Daypilot Scheduler Event List has an event having id : "undefined"

Answered: The JavaScript Scheduler doesn't modify the "id" property of the event data object - I recommend checking your data source. Note that this is a very old DayPilot version which is not supported anymor...

uploading data

Answered: It turns out that the project included an incorrect version of _db.php that initializes the database. A fixed project is now available for download. The employees are stored in the database, in a tab...

Drag-Drop External event pops to first column

Answered: Figured it out: The second level columns need unique id's. They had id's from a for-loop that was reset for each first level column.

Angular 4+, event multi select

Answered: Yes, it is supported in Angular as well. In Angular, you just need to specify the properties and event handlers on the "config" object instead of DayPilot.Scheduler object. All features work the same...

Download into pdf

How can i download the gannt chart into pdf format?

Angular 4+ Bubble stuck on screen

Answered: That should be fixed now in the latest release (8.4.3058): https://javascript.daypilot.org/daypilot-pro-for-javascript-8-4-sp6/ Let me know if the problem persists.

Display mysql data

I have two input box and with the help of this two input data i wants to display my mysql data Ex. i have so many employee data in a single table then i wants to display only to those people whose ha...

Need Information

Answered: Please see the PDF export tutorials at code.daypilot.org: https://code.daypilot.org/76551/html5-scheduler-paged-pdf-export https://code.daypilot.org/73551/html5-scheduler-pdf-export-javascript

Getting Error Msg

Answered: thanks for your reply.. currently we are using IE 10 will check the code and get back..

Calendar only showing events for first date in week

Answered: It looks like you didn't specify the date (start property) for the child columns. If the date isn't specified it uses the dp.startDate value (it doesn't automatically inherit the "start" value from t...
Questions 1-30 of 3325 Next