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

Questions Tagged javascript

Disabled cells for DayPilot.Calendar

Hello, i found the ability to disable cells in the JavaScript Scheduler, but it does not work in JavaScript Calendar. https://javascript.daypilot.org/demo/scheduler/cellsdisabled.html I think it is n...

timeline assign date

Answered: Hi Otto, You can create DayPilot.Date object from an ISO string using a constructor: var date = new DayPilot.Date("2019-05-04T12:00:00"); // "2019-05-04 12:00:00" works as well See also: https:/...

Edit resource name with JavaScript

Hello. I‘ve seen, that it is possible to change the name of a resource/row inline. Is it also possible to do this outside of Daypilot with an external formular? Since now I didn’t found a way to do t...

Daypilot Javascript

i am using Daypilot javascript demo version after 60 days what will hasppen .i need that details .immediatly pleaase help me

login to scheduler

Hello, is there a sample how to handle user login/logout for the scheduler users. Thank you in advance Otto

HTML5 Hotel Room Booking (JavaScript/PHP) bubble

Answered: The bubble text/HTML needs to be specified using "bubbleHtml" property of the event data object: https://doc.daypilot.org/scheduler/event-bubble/ If the "bubbleHtml" property is not part of the serve...

Show resource unavailability based on time-range not on cells

Answered: It's possible to implement custom rules using onEventMoving, onEventResizing and onTimeRangeSelecting events: https://api.daypilot.org/daypilot-scheduler-oneventmoving/ https://api.daypilot.org/daypi...

How to remove the entire left side?

Answered: I just set it to 0 Thanks

Event for resource column click?

Answered: Just found out about: https://doc.daypilot.org/scheduler/active-areas/

DayPilot Gantt - Export Client-Side

Answered: Hi Andrea, Gantt client-side export is in the works - it will be available in the near future.

How use Daypilot on Laravel

I have project for work orders on laravel I like to use scheduler of daypilot. But lmodal.showUrl and loadResources() did not work. How I can use. Please let me know samples.

BubbleText

The bubble text is slower to display upon hover when I there are more resources. This happens in Chrome.

Display Totals On Rows and Columns

Answered: Hi Aliaa, Sorry for the delay. There are actually two event handlers that let you customize the row headers: 1. The onBeforeResHeaderRender is a legacy event which is only fired when the rows are loa...

database

Answered: In PHP, you can modify the backend scripts (backend_events.php, backend_create.php) to work with your database. The DB connection properties can be found in _db.php. The MVC version defines the data ...

Slow in rendering cells

Answered: The Scheduler is optimized and it only renders the cells for the current viewport. However, this configuration extends the viewport to the whole grid and it displays all 100*15*24 = 60,000 cells at o...

Right-click range select, on button release

Answered: This issue should be fixed now in the latest sandbox build (2018.4.3470): https://javascript.daypilot.org/sandbox/

Event rendering on copy

Answered: Most likely, the problem is that the new event has the same ID as the original one. After recent changes, the Scheduler requires each event to have a unique ID. This applies since the various event i...

Extra Fields Add

Answered: The modal dialog can show any HTML page using showUrl() method. You can create a standard page with the required fields and display it using showUrl(). You can pass the form data back to the calendar...

limited timeframe

Answered: already found the solution need to change $morning_shift_starts = 9; $morning_shift_ends = 13; $afternoon_shift_starts = 14; $afternoon_shift_ends = 18; in the backend_create.php thankyou anyway

Scheduler with Sortable Columns for Javascript

Answered: There is a tutorial in the works that will show how to sort rows using the column headers in the JavaScript version. It will be published at https://code.daypilot.org - you can subscribe to email not...

cssClassPrefix overrides resource tree backColor

Answered: You can extend your onBeforeCellRender like this to apply the green background color: dp.onBeforeCellRender = function(args) { var row = dp.rows.find(args.cell.resource); if (row.data.bac...

Highlight holidays

Answered: I figured it out... dp.onBeforeCellRender = function(args) { var cellDate = moment(args.cell.start.value).format("YYYY-MM-DD"); if (jQuery.inArray(cellDate, holidayArr) !== -1) { ...

Hyphens in event text

Answered: I'm not able to reproduce the problem - however, it looks like a CSS issue. If you enable text wrapping some browsers may wrap the text after the hyphen. If the event height only allows one line of t...

Show Event Links on hover or select only?

Answered: Sorry for the delay... Unfortunately, the links can't be displayed on hover. You might be able to implement your own logic by only adding the selected links to the array (on event click, on active ar...

Make Event selected and Change color for selected item

Answered: Yes, please see the "Event Selecting" topics in the docs: https://doc.daypilot.org/scheduler/event-selecting/

Hide/Show Resource Section in Daypilot

Answered: Yes, please see the "rowHeaderHideIconEnabled" property which enables an icon that lets users hide/show the row headers: https://api.daypilot.org/daypilot-scheduler-rowheaderhideiconenabled/ It's als...

BOM at beginning of body

Answered: It looks like without the BOM the browser doesn't recognize the <doctype> section at the top of the HTML file and renders the document in quirks mode. There might be a problem with some non-ascii cha...

BubbleText Hover

Answered: It's not possible to display the bubble when the mouse cursor is still in move but you can configure the delay it waits (after the cursor stops moving) using showAfter property: https://api.daypilot....

Constrain Event moves in Scheduler to within Parent Resource?

Answered: Oh, of course... after hours of searching docs, I find something mere seconds after asking. I'm assuming it will be handled in "Event Moving Customization" correct? https://doc.daypilot.org/scheduler...

Slow Load Times in IE11 DayPilot Pro for Javascript

Answered: Andrew, Something like this can happen if you have an extremely large timeline. Try checking your combination of "scale" and "days" values. I'd try to keep the timeline length (the number of cells in...
Questions 1-30 of 801 Next