Questions Tagged lite
Show calendar with 15 minutes slots
Answered: No, the Lite version only supports 30-minute slots. See also: https://doc.daypilot.org/calendar/time-cell-duration/
Show view Month?
Answered: You can find a demo of the monthly calendar (Lite version) here: https://javascript.daypilot.org/demo/lite/month/index.html Click the "Show source" button to see the JavaScript source code. This demo...
DayPilot is not supporting Arabic language
Answered: The RTL text direction is only supported in the Pro version, you can find a demo here: https://javascript.daypilot.org/demo/calendar/rtl.html At this moment, it's not supported in the Lite (open-sour...
Remove non Business Hours
Answered: This is possible - you need to add heightSpec: "BusinessHoursNoScroll" to the config: https://api.daypilot.org/daypilot-calendar-heightspec/ It's supported in the Lite version as well. In the Pro ver...
Resources feature | OpenSource
Answered: Yes - at this moment, the "Resources" view is only available in the Pro version.
Can't hide sundays
Answered: You should take a look at the viewType property. It lets you hide weekends: https://doc.daypilot.org/calendar/work-week-view/ If you only want to hide Sundays, you can use viewType="Days", days=6 and...
Scheduler Alignment Bug in Chrome
Answered: Unfortunately I don't see the issue in the online demo of the Lite version: https://aspnet.daypilot.org/demo/lite/Scheduler/ It might be a CSS interference issue - you can try to disable the global C...
Gantt chart
Answered: There are two versions of DayPilot for ASP.NET WebForms DayPilot Lite for ASP.NET WebForms (open-source) https://aspnet.daypilot.org/open-source/ DayPilot Pro for ASP.NET WebForms (commercial) https:...
Event creation does not work
Answered: The tutorial is now updated and it uses the following logic:
dp.onTimeRangeSelected = function (args) {
var name = prompt("New event name:", "Event")
dp.clearSelection();
if (!name) {
...
Disable range selection Calendar
Answered: In DayPilot Pro for JavaScript, you can do this using onTimeRangeSelecting event handler: https://api.daypilot.org/daypilot-calendar-ontimerangeselecting/ Unfortunately, it's not available in the Lit...
Bug parsing datetime
Answered: The first date format ("2020-11-18T13:02:26.249-05:00") is supported and it will work fine. The second date format ("2020-11-18T13:33:24.38-05:00") is not supported at the moment. To see all availabl...
Padding on Table Layout => Delta on timerangeselection
Answered: It seems to be a Bootstrap theme conflict, not a DayPilot issue, I will investigate my side,
Event counter per day
Hello, I'm building a scheduler with 3 different possible events for each resource and I would like to get the number of these events for all the resources per day. Do you think there is a solution? ...
How to change start time?
Answered: In the Pro version, this can be set using dayBeginsHour and dayEndsHour properties. See also: https://doc.daypilot.org/calendar/overnight-scheduling/
full display for Calendar
Answered: In the JavaScript version, all member names follow the camel case convention. You need to use "heightSpec": https://api.daypilot.org/daypilot-calendar-heightspec/
Can we show DayPilot Calendar in Hebrew Language?
Answered: The Hebrew locale is not included in the built-in set. You can create and register it using DayPilot.Locale.register() function: https://api.daypilot.org/daypilot-locale-register/ But please note tha...
how can i get the calendar to show an specific date?
Answered: i solved this in an easier way than i expected. I just discovered i can use thymeleaf in the javascript so i send the model of an event to the view and i get it done like this. <script th:inline="jav...
(IMP) Doesnot display exact time of the event in Calendar UI
Answered: By default, the calendar component aligns the events with the grid cells and displays a duration bar to indicate the real duration. In the Pro version, you can change this behavior as described here:...
Tutorial for Asp.Net Core
Answered: There is a tutorial that shows how to use the Pro version in an ASP.NET Core application: https://code.daypilot.org/31735/javascript-weekly-calendar-asp-net-core This project will work with the Lite ...
How to access BeforeEventRenderArgs in MVC
I do not see BeforeEventRenderArgs in the object browser, so can not use sample code in https://doc.daypilot.org/calendar/event-customization/ I have the following using statement "using DayPilot.Web...
e.commit() is not implemented
Answered: Never mind! It's my own problem - I passed wrong argument to events.update().
How to change date calendar (nav) and scheduler (dp) according to data from database
Answered: I assume that you have followed the calendar tutorial (https://code.daypilot.org/17910/html5-event-calendar-open-source) and have the navigator and calendar linked like this:
nav.onTimeRangeSelec...
Null Exception on DataItem when setting StartDate
Answered: Hi Scott, The e.DataItem property is only initialized if you call DataBind(). Calling DataBind() is not necessary during callbacks/postbacks because the events are reloaded from the ViewState. Howeve...
How to use password for event creation ,resizing and moving
Answered: The preventDefault() method needs to be called in the main context (before the onEventResize handler exits). You are calling it in the callback method which is called later and it has no effect. The ...
How-To add some color to Calendar....
FYI- The Text for the Calendar control takes HTML... So, if you want some color to differentiate you can do something like... SELECT tblStudyTasks.study_task_id, task_start, task_end, CASE WHEN COUNT...
How do I deploy daypilot light to my server?
Answered: Never mind. Just copied the dll to the bin folder for the website and voila it works.
Logical overnight scheduling
Answered: Hi Paul, This feature is not intended as a workaround for displaying long events. It's designed for views where the day boundaries are shifted - e.g. tv listings. The calendar will display events spa...
Keyboard Control for DayPilot/W3C Accessibility Standards
Are there any current plans for making the daypilot calendar interface keyboard accessible to W3C standards?
Can you view more than one month/week with DaypilotLite?
Answered: Unfortunately it's not supported in the Lite version.
How do I make my DayPilot Month Calendar to be Read Only in Asp.Net MVC?
Answered: You can make it read-only by disabling the drag and drop actions one by one:
@Html.DayPilotMonth("dpm", new DayPilotMonthConfig
{
BackendUrl = Url.Content("~/Home/Backend"),
EventMoveHandlin...