Questions Tagged how-to
Current time in Scheduler
Answered: I solved this with Seperators (http://doc.daypilot.org/scheduler/separators/) dp.separators = [{color: "Green", width: 2, location: new DayPilot.Date()}]; dp.update(); setInterval(function () { dp.se...
Resource Header Click
Answered: After further tests, I found that there is no problem with the Resource Header Click if I use Google Chrome instead of IE8 as the browser. So, it seems that ResourceHeaderClick event is not supported...
How to change border end of each day?
Hi, We are using DayPilot in once of our Web applications. What we need is in the scheduler view change the right or left border of each cell at the end or start of the day. So that users can clearly...
Javascript Scheduler Rows Auto Height
Answered: Unfortunately, it's not possible to stretch the row height automatically because it's based on the event box height and the number of overlapping events. However, it's possible to use heightSpec = "M...
Display Hours as header or (Hours and Days)
Hi, I currently have a scheduler for a sight, but I'm having a hard time as to how can I show Time per day(24hours) as well as days in a week both in X axis. >daypilotplanner.aspx This is my current ...
How can i clear the content of daypilot scheduler version 7.9
Answered: This issue seems to be related to the timeline only. You can see this exception if the timeline is empty, i.e. when Days is set to 0 or if you hide all columns (http://doc.daypilot.org/scheduler/hidi...
Prevent moving between resources
Answered: You should set .moveVDisabled property of the event to true: http://doc.daypilot.org/scheduler/limit-event-moving/ You can do it directly in event data object or using onBeforeEventRender event handl...
How to see the whole Event text, for an event with a short duration
Answered: Are you using the Calendar or the Scheduler? There are several options: 1. Increase CellWidth (Scheduler)/CellHeight (Calendar). In the Scheduler, you can also increase EventHeight. 2. Add a Bubble t...
BusinessHours
Answered: The HeightSpec = BusinessHoursNoScroll is not available in the MVC Lite version at the moment. Most likely, it will be added in the next release.
scalehours in 30 minutes
Answered: In the Scheduler, you can use the following to get 30-minute time slots:
dp.scale = "CellDuration";
dp.cellDuration = 30;
See also: http://doc.daypilot.org/scheduler/scale/ http://doc.daypilot.o...
Ability to add images on the events
Answered: You can customize the event HTML using onBeforeEventRender event: Scheduler http://doc.daypilot.org/scheduler/event-customization/ Calendar http://doc.daypilot.org/calendar/event-customization/ Month...
When Adding Event, Resource Is Null
Answered: I assume you create the columns manually in view #1 (ViewType="Resources"). You probably specify the resource for each of these columns. That's why it's available in TimeRangeSelected. In view #2 the...
Keep scroll bars always visible
Answered: The solution would be to let the scheduler fill the window/viewport so you can always reach the horizontal scrollbar at the bottom (without using the browser vertical scrollbar). Use heightSpec="Pare...
How to delete Resource from scheduler
I have tried to delete a resource by having a menu item on Resource menu and using callback to update the database and rebinding the data. I am also using update() method inside SchedulerBeforeResRen...
On event resize
Answered: There are two ways to do it: 1. Store the old event start and end in the args object in onEventResize (which is fired before the default action). The same object will be passed to onEventResized. The...
current version of jQuery
Answered: Yes, there should be no problem with any recent version of jQuery.
External Drag for scheduler with calendar
I want to perform an external drag from a gridview to a Scheduler with a linked navigator to select date. If we select different date from the calendar, e.StartDate and e.EndDate will still be Today ...
Can't create event using javascript
I have tried to create event using javascript. I have created like this : @Html.DayPilotMenu("menu", new DayPilotMenuConfig { CssClassPrefix = "menu_default", Items = new DayPilot.Web.Mvc.MenuItemCol...
How to export daypilot calender in excel ?
after R&D on export supports for daypilot i came to know there is only support for PDF and image. I wanted to confirm is there possibility to export to excel & if possible then how ?
Event Calendar only shows current day
Hi, I cant seem to get the Event Calendar to show more than the current day. My Controller looks like this currently: public ActionResult BackEnd() { return new Dpc().CallBack(this); } } public class...
Can't load events from mysql
I'm setting up the calendar and I am having trouble switching from the sqlite database in the tutorial to my mysql database. I'm using the tutorial code created and populated a mysql databse using _d...
Uncaught The minimum year supported is 1
Answered: Problem solved. Was on event that fucked things up. had no date set.
How to modified Project Management for ASP.NET (Open-Source) with daily,weekly and Yearly
How to modified the project Management for ASP.NET (Open-Source) DayPilot Lite 3.2.247 to have a facility in daily, weekly and Yearly tracking and updating the task as well which similar like Microso...
Serialisation not working properly on update
In my project I don't have direct access to an SQL database, so I can't fill the events List as described in the tutorials. So I have created a dummy DataTable like this: DataTable table = new DataTa...
Manually refresh daypilot Lite
Is there some way to manually refresh it? I found another post in the forum about a year old but it couldn't possibly be more cryptic to me. Has anyone had any luck doing this?
timerangeselected does not fire when click on one cell
On my paid version of DayPilot, Timerangeselected fires when I drag my mouse over an empty time slot, but it does not fire when I click an empty time slot. I would like it to fire, or is there anothe...
Custom Edit View
Hello, we testing the daylight pro version, is it possible instead of using a modal (javascript) form, events can be edited or created via a created / edit mvc view page? thx for your quick response ...
How to use cssClassprefix in mvc3?
I tried using cssClassprefix in mvc3 daypilot.but it renders the inline styles.It does not support cssOnly property?So how can i apply cssclass in mvc3
Calendar inside Bootstrap tab scroll bar issue
Answered: I found a solution. In stead of a tab control. I used Fadein/Fadeout and buttons to simulate a tab control. When the view loads all the daypilot calendars are visible, then I fadeout/fadein the divs ...