Questions Tagged lite
How to resize the table column and row like excel ?
Answered: Unfortunately, this is not supported. In the Pro version, it will be possible to resize columns in the near future.
Setting heightSpec: "BusinessHoursNoScroll" resets hours shown on grid
Answered: The support for heightSpec: "BusinessHoursNoScroll" is now implemented in the latest sandbox build and it will be available in the next release.
Can't use scheduler with daypilot lite javascript
Answered: Unfortunately, the Scheduler component is not included in DayPilot Lite for JavaScript. See also the feature matrix here: https://javascript.daypilot.org/feature-matrix/
Vue - Accessing calendar functions
Answered: It looks like you are using the open-source Lite version which includes only a subset of features. The scrollToHour() and message() methods are only available in the Pro version at the moment. See al...
How to disable previous dates in calendar
Answered: At this moment, blocking selected dates is only supported in the Pro version. Please see the following tutorial: https://code.daypilot.org/88013/javascript-calendar-blocking-selected-dates
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...