Questions Tagged
Problem with starting on the first day of the week
Answered: I added the day of the week to the method and it worked: dp.scrollTo(new DayPilot.Date().firstDayOfWeek(1));
External Drag and Drop
Hello, when I set below setting DayPilotScheduler1.ViewType = DayPilot.Web.Ui.Enums.Scheduler.ViewTypeEnum.Days and Drag even over daypilot scheduler giving "TypeError: this.rows[e.part.dayIndex] is ...
Having issue for daypilot calendar to display database values based on the date and time from database
Answered: The START_DATE and END_DATE fields are correct but why do you store time separately in START_TIME and END_TIME? The type of START_DATE is "datetime" and it will allow you to store both date and time ...
Changing start date of event
Answered: Changes of the key properties (id, start, end, resource, text) doesn't have an immediate effect because it would cause problems if you modified events that are already visible in the calendar/schedul...
Show html bubble on event click in Scheduler
Answered: Using DayPilot Pro 7.7.787 and later (see the sandbox at http://javascript.daypilot.org/sandbox/) you can do this:
dp.onEventClicked = function(args) {
new DayPilot.Bubble().showHtml("...
Strange behavior of DayPilot.Locale datePattern
Answered: Please try version 7.7.759 from the sandbox: http://javascript.daypilot.org/sandbox/ "ddd" pattern string is not implemented in prior versions.
Deleting event
Answered: Yes, there is no built-in onEventDelete event. You can call dp.events.remove(e) and then notify the server:
dp.events.remove(e);
$.post("delete", { e: e.id() }, function() {
dp.message("D...
asyncpostbacktrigger with daypilot navigator
Answered: The navigator fires two events: 1. TimeRangeSelected when you click a date 2. VisibleRangeChanged when you click "next" or "previous" links at the top You need to set TimeRangeSelectedHandling to "Po...
Display custom string in time headers
Answered: You can customize the header HTML using onBeforeTimeHeaderRender event handler:
dp.onBeforeTimeHeaderRender = function(args) {
if (args.header.level === 1) {
args.header.html = args.header....
Daypilot lite 4.1 is free
Answered: Yes, you can download it here: http://www.daypilot.org/download.html
How to change the code to display varchar and date type data instead of two datetime type for the daypilot calendar?
Answered: If you want to customize the text that is displayed in the event box you should use the BeforeEventRender event.
protected void DayPilotCalendar1_BeforeEventRender(object sender, BeforeEventRenderE...
Day Pilot Event Bubble Bug When using Odbc datatables
hi i am using an sql table for my event data with additional data tags and populating an event Bubble on hover with Protected Sub EventBubble1_RenderEventBubble(ByVal sender As Object, ByVal e As Day...
How can I get the Scheduler to show that my event is longer than displayed in the current view?
Answered: This is not yet supported but I'm adding it to the wishlist.
Change Navigator Week When Event Clicked in Month
Answered: You can change the navigator date using .select(date) method: http://api.daypilot.org/daypilot-navigator-select/ You can call it from the EventClickJavaScript handler:
@Html.DayPilotMonth("dpm", ne...
day pilot displaying all three calendar?????
when ever i m clicking on toolbar command event is not firing and when page is open all three calendar that is daycalendar,weekcalendar and monthcalendar are visible????? y is it so ny help???
Text/Description for a seperator
Hey Dan! Can you add a Text to a seperator to descripe it? You could add a bubble for a short time when you do a mouseover over the seperator. Or show the text on the upper of the seperator. thanks d...
item duplicates
Answered: Please make sure that your resources have unique IDs and that the correct resource ID is specified for the event (see DataResourceField property). The event will be displayed in all rows where the re...
All Day Event with Calendar Week View and WeekStart with Monday
Answered: This issue is fixed now in 7.7. SP2 release: http://www.daypilot.org/daypilot-pro-for-asp-net-webforms-7-7-sp2.html You can download the new version here: http://www.daypilot.org/try.html
Problem with localization
Answered: Alex, You need to register it using DayPilot.Locale.register() method:
DayPilot.Locale.register(localeMy);
The .register() method must be invoked on DayPilot.Locale object directly (not on an ins...
Event is displayed twice (Dynamic Loading)
Answered: This bug is fixed now in build 7.7.781. Please see the sandbox: http://javascript.daypilot.org/sandbox/
timeHeader Bubble in the scheduler?
Hi, i want to use a Bubble onmouseover on the timeHeader, f.a. on the day. howto? thanks
Ability to extract only the necessary modules to include in a web app
Hi, We are considering using DayPilot Pro for Javascript in our web application. The only concern we have is that it is too big (478 kB minified) and there are modules that we don't need such as Gant...
Fix the upper Resource?
Answered: This would be a nice feature but it's not quite easy to implement it... I'm adding it to the wishlist.
Zooming in JS-Version?
Answered: The zooming implementation in the ASP.NET demo (http://www.daypilot.org/demo/Scheduler/Zooming.aspx) is quite simple: It overrides the default time header cell text using BeforeTimeHeaderRender event...
Is it possible to get information of selected timerange while selecting?
Answered: This feature is in the works. I will be available in 1-2 weeks.
Capture global mousedown/up event
I need to capture any mousedown and mouseup event fired on the scheduler. I've tried just adding an eventlistener to the entire dps container like this: $("#dps")[0].addEventListener("mousedown", fun...
Show more than one bubble at the same time
Answered: The bubble is designed to display just a single box at the same time. All previously displayed bubbles will be hidden when displaying a new one. Also, the bubble is hidden when you move the mouse out...
Insert a dropdown in datagrid
Answered: It is difficult to insert full-blown ASP.NET controls in the headers. However, there are two options: 1. Use the custom HTML (using BeforeResHeaderRender event handler) to insert HTML-based dropdown....
Execute javascript function after clicking ok button on event creation DayPilot Month.
Hello! My name is Roby. I'm using DayPilot Month Lite in my project. I need to trigger a javascript function after I click the OK Button into the event creation alert. My big questions (after reading...
Dynamic height of month calendar view events
Answered: Please see here: http://forums.daypilot.org/Topic.aspx/2238/set-event-hight-in-onbevoreeventrender