Questions Tagged
Scheduler: Changing HeaderHeight
I see in the documentation the headerHeight parameter, but when I set it, it is always rendered as 20px. Am I missing something? I'm using the Angular implementation with the attached config
select date on time header...
i want to select different dates on each cell on time header.. how can i do this
In Month view, events longer than one week (8 days+) only display on the last week row.
Answered: This issue is now fixed in the new 1.2 release: http://javascript.daypilot.org/daypilot-lite-for-javascript-1-2/ Let me know if there is any problem.
TimerangeSelection on IPad
We have updated our MVC Calendar to version 7.9.5745.0 and have now problems with the TimeRangeSelection on iPad. Since the update, a single touch on a cell doesnt create a Selection. We have to Touc...
Modifying the args.cell.start, args.cell.end properties
Answered: Unfortunately the cell duration must be fixed for the whole day in the Calendar. In the Scheduler you can create a custom timeline that will be non-linear: http://doc.daypilot.org/scheduler/timeline/
onCellClick() or onCellDoubleClick() methods Event Calendar Pro javascript
Answered: If you click a cell TimeRangeSelect/TimeRangeSelected event will be fired: http://api.daypilot.org/daypilot-scheduler-ontimerangeselect/ http://api.daypilot.org/daypilot-scheduler-ontimerangeselected...
Can't able to change event background color in IE8 & 9, and show delete button permanently in latest version?
Answered: 1: You can add a custom delete button using an active area. It's described here as method #3. You can make the active area permanently visible by calling Area.Visible(): http://doc.daypilot.org/sched...
Is horizontal scroll bar available with event calendar(all view types) control
Answered: Yes, you can use fixed column width: http://doc.daypilot.org/calendar/fixed-column-width/
Excel like inline edit
Answered: Inline editing of existing events is supported: http://doc.daypilot.org/scheduler/inline-event-editing/ You can also create a new event and immediately start inline editing. See the following example...
Access to HttpContext User Name in call back handler
Answered: You can access the controller using Controller property in the backend class:
public class SchedulerController : Controller
{
public ActionResult Backend()
{
return new Dps().CallBa...
How to resize the resource columns
Answered: Unfortunately, columns resizing is not supported at the moment.
The timeHeaderCellDuration property does not produce specified time interval cells
Answered: This issue is now fixed in the latest build (7.9.1426). The jsfiddle now works fine. You can customize the time header HTML using onBeforeTimeHeaderRender: http://doc.daypilot.org/calendar/time-heade...
Switching event calendar(javascript) from 'Resources' and 'Days'/'Week' not updating the headers
Answered: It's now fixed in the latest build (7.9.1428). Just note that .init() is called automatically from the jQuery plugin. The second call to .init() is ignored. This means the following part of code has ...
Multiple timezone view of Scheduler
Answered: Provided that all dates are GMT you can add a secondary time header that will display another time zone. Just override onBeforeTimeHeaderRender and update the HTML as needed. The limitation is that t...
How to make data refresh when selecting different week on Navigator?
Answered: You need to reload the data source in Command event handler (where you change the dates according to the selected date received from the Navigator).
protected void DayPilotScheduler1_Command(object...
How to show the short date m/d in the week and month view
Answered: You can define the date format using TimeHeaders: http://doc.daypilot.org/scheduler/time-header-rows/ And you can also customize the time header HTML using BeforeTimeHeaderRender: http://doc.daypilot...
How to highlight entire selected month of Navigator
Answered: You can set the mode using SelectMode property: http://doc.daypilot.org/navigator/select-mode/
DayPilot:DayPilotScheduler bug?
Answered: You need to modify the event handler as follows:
protected void DayPilotScheduler1_BeforeResHeaderRender(object sender, BeforeResHeaderRenderEventArgs e)
{
DataItemWrapper task = e.DataItem;
...
Text Margin for Time
Answered: This property (EventTextLeftIndent) is only used when CssOnly is set to false. The position of the time text is fixed and can't be changed. The solution would be to switch to CssOnly = true and add t...
Scheduler - Highlight Resource Start/End Dates
Answered: Can you please try to update to the latest DayPilot Pro version? In 7.9 SP5 and prior releases there was a bug that ignored custom cell properties in all but the first row. See also here - see "[Sche...
IE 8 + 11 Problem: No Events
Answered: It looks like the problem is the timeline. As far as I can see the time header doesn't include any cells. You can check whether this is a display-only issue by checking dps.itline array in the consol...
Different Colours for events in Scheduler
Answered: Something like this works in c#: protected override void OnBeforeEventRender(BeforeEventRenderArgs e) { if (Boolean.Parse(e.Tag["CheckedIn"])) e.BackgroundColor = "#9FF59F"; if (Boolean.Parse(e.Tag["...
Right clicking context menu on mobile devices
Answered: Please take a look at this tutorial, it shows how to configure the touch behavior (you need to set it on the Calendar control, not the menu control): http://code.daypilot.org/65794/html5-event-calend...
2013 Demo gets an error
Answered: It's fixed in the latest release (7.9 SP3): http://mvc.daypilot.org/daypilot-pro-for-asp-net-mvc-7-9-sp3/ The medium trust level setting is now removed from web.config: <trust level="Medium"/>
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...
Last cell has no right border.
Answered: It's now fixed in the latest sandbox build (7.9.1384): http://javascript.daypilot.org/sandbox/scheduler/ An official SP release will be available early next week.