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

Questions Tagged javascript

keyboard.clearFocus() not found

Answered: It was missing from the TypeScript definitions. It si now available in the latest release (2024.3.6130).

Error when using .Scheduler.rows.find with split resources

Answered: This error is fixed now a special relase (2024.3.6130). If there is any problem, please let me know.

Scheduler partial updates sometimes are not rendered

Answered: It looks like you invoke the add/remove/update operations during drag and drop moving - but that’s not a supported scenario. It wasn’t designed to support them - it may work or not. The problem is th...

Changing Background Color of Selected Row Header (Scheduler)

Answered: In the Scheduler, the selected rows are highlighted using the following CSS defined in the built-in theme: .scheduler_default_rowheader.scheduler_default_rowheader_selected { background-color: #...

How can I show a bubble manually on a resource/row header?

Answered: You can use the showHtml() method - you just need to supply the HTML to be displayed. No other object is required as a parameter.

Bug on Row Filtering Demo (JavaScript Scheduler)

Answered: This problem should be fixed now in the latest sandbox build (2024.3.6102). Please let me know if the problem persists.

Enabling Multi-range by default

Answered: In the latest sandbox build (2024.3.6166), this is now possible using the new multiRangeMode property. Scheduler config: { multiRangeMode: "Always", // ... }

Set Height For Frozen Rows in the Scheduler

Answered: The JavaScript Scheduler doesn’t support frozen rows with a custom height and a vertical scrollbar. If you want to display large data set or many rows in the frozen section, it is better to use two s...

time range from touch selection not working?

Answered: I have one test case where it works fine and one where it doesn’t. I’m still trying to find out what’s going on. Anyway, the following approach works in both setups: dp.onTimeRangeSelected = function...

Scheduler - Area - How to use Bubble with the action ContextMenu

Answered: Since version 2024.2.5957, it is possible to combine the bubble property with any action type. That means the bubble (if specified) will always be displayed on hover, even for action: "ContextMenu".

utiliser le local storage

Answered: Yes, this example focused on the configuration of the React calendar on the client side (installation, changing the date, customizing appearance, …). In a standard application, you will need to conne...

Unset keyboard focus on lost focus on scheduler component

Answered: In the latest sandbox build (2024.3.6000), there is now a new keyboard.clearFocus() method that will let you remove the focus. Please let me know if it doesn’t work as expected.

Can you add an empty column in the row header?

Answered: To show an empty column, just omit the display property from the rowHeaderColumns array items. However, the first column will display the name of the resource even if you don’t specify the display pr...

Partial resource updates without full redraw

Answered: Yes, you can update just a single row using the rows.update() method.

When dragging events, sometimes the event incorrectly moves to the wrong time

Answered: This issue should be fixed now in the latest sandbox build (2024.3.5995). Please let me know if the problem persists.

Wrong className for DayPilotMonth component

Answered: You may be overlooking something. The DayPilotMonth React component indeed uses the ”month_default” CSS theme. You can check it by inspecting the DOM elements in the JavaScript demo, You can apply a ...

Add additional data to the events table

Answered: You can create the modal dialog using DayPilot.Modal.form() - you can find an example here: JavaScript Scheduler: How to Edit Multiple Fields using a Modal Dialog DayPilot.Modal is included in the op...

dropdown in progress bar

Answered: You can add custom objects (icons, etc.) to the row header columns using active areas. To add an active area, use the onBeforeRowHeaderRender event handler: onBeforeRowHeaderRender = (args) => { ...

Collapsing/hiding hours in calendar

Answered: This is not supported in the Calendar at the moment. It is only possible in DayPilot Pro, in the Scheduler component: Hiding Time Columns in JavaScript Scheduler In the Pro version of the Calendar, y...

Is it possible to drag and drop multiple events from the external source to scheduler?

Answered: Unfortunately, this is not possible at the moment. Out of curiosity - what is your use case?

Daypilot navigator problem after updating to angular 16

Answered: This is hard to guess without the actual code, but you may be accessing an instance that has been destroyed already. If it doesn’t help, could you please post an example that reproduces the problem?

DayPilot Month - RTL

Answered: It was almost ready - the RTL support is now available in the latest sandbox build (2024.3.5979). You can get the sandbox React package at npm.daypilot.org. See also a live demo in the sandbox: Month...

Modifying RTL according to locale

Answered: Unfortunately, RTL is not supported in the Lite version at the moment.

Context Header Menu not locked when appearing.

Answered: In the latest sandbox build (2024.3.5980), the context menu now hides on a "wheel" event (mouse wheel or touchpad scrolling) to prevent it from moving to an incorrect position. That should fix the is...

How to add "day of week" to the time header day

Answered: You can customize the calendar column headers using the onBeforeHeaderRender event handler: const calendar = new DayPilot.Calendar("calendar", { // ... headerHeight: 50, onBeforeHeaderRender...

Calendar events are not aligned when on the same line

Answered: It looks like this is caused by the custom CSS theme that you are using. I recommend checking the margins, padding, etc. If the purpose of the CSS modification was to create a free space next to the ...

Jalali Calendar

Answered: The calendar works with a Gregorian calendar internally, and the Jalali/Shamsi calendars are not directly supported. However, in the resources view, the calendar shows just a single day and the date ...

weekStarts property non-functional in DayPilotCalendar

Answered: At this moment, the weekStarts property is not available in the Lite version. However, you can set a custom week start using the locale property. If there is no built-in locale that meets your needs,...

Drag Shadow disappears after dragging over updating rows

Dear Daypilot Developer While working on a project at my company which uses Daypilot Scheduler I came across this weird behaviour. For context the daypilot scheduler would dynamically load the events...

How to show read only calendar

Answered: Yes, you can disable event moving using the eventMoveHandling property: { eventMoveHandling: "Disabled", // ... }
Previous Questions 31-60 of 1969 Next