I would like to set an initial/default value when opening a form for a field with the type "searchable", is it possible? Matching by key from data object does not work
Answered: This data isn’t calculated for internal purposes. You will need to go through the events in events.list and calculate it directly from the data.
Answered: I assume you mean the DayPilot.DatePicker component. In the latest sandbox build (2025.3.6533), you can now set a custom text of the “Today” button using the todayText property: const picker = new Da...
Answered: Hi Leo, The error #2 should be fixed now. There was an issue with events located next to a disabled parent row ( treePreventParentUsage: true ) when you tried to move them into the disabled row and s...
Answered: There is a small delay before the tap-and-hold event action (moving, context menu) is activated (defined by tapAndHoldTimeout ). If the event is deleted during this time, you may see this error. In t...
Answered: By default, events are rendered progressively and there is a small debouncing delay that makes the scrolling smoother . You can either turn progressive rendering off using dynamicEventRendering or yo...
Answered: datePattern is a property of DayPilot.Locale . You might want to check the locale value - it must be either a DayPilot.Locale object or a string identifier of a registered locale .
Answered: The missing TypeScript definitions have been added now in the latest sandbox build (2025.3.6529). The only exception is DayPilot.GanttBeforeCellRenderArgs.cell.areas - this is already available but i...
Answered: You can cancel the selection and place the caret at the start using the onAfterEventEditRender event: onAfterEventEditRender: args => { setTimeout(() => { args.element.setSelectionRange(0, 0); }, 0);...
Answered: In onEventEditKeyDown , the args.element property stores the <textarea> element used for editing. You can get the current text using args.element.value .
Answered: Have you tried using heightSpec: "Max100Pct" ? This option is designed exactly for this use case. It will automatically stretch the height as needed, up to 100% of the parent div - then a vertical sc...
Answered: You can look at the height options , especially heightSpec: "Parent100Pct" . This setting makes the Calendar component expand to fill its parent element. A vertical scrollbar is added automatically, ...
Answered: Most likely, you are using a reference to an old instance that has been disposed already. So I recommend checking how you get the reference and make sure that it’s not an obsolete one.
Answered: At this moment, the image export of the Calendar component doesn’t work for RTL. This feature is in the queue and it will be implemented in the near future.
Answered: Hi Roman, Since version 2023.4.5839 , the Calendar resources view supports a vertical timeline longer than 1 day. To display only 1 day on the vertical axis, you need to set the days property to 1 . ...
Answered: The capabilities of the image export are limited. Basically, you can export plain text and active areas. If you need an exact copy and are happy with the current viewport, it’s better to make a scree...