Active Questions
EventBorder in PNG-Export
Hi, I have a DayPilotScheduler configured with EventBorderVisible=False. However when I export it to a png file the event borders are still shown. I use a rather old version of daypilot (6.2) if that...
Filter not working
I am having issues with implementing filters in MVC App. I am playing with the Tutorial ASP.NET MVC Hotel Room Booking http://code.daypilot.org/32389/asp-net-mvc-hotel-room-booking The filter doesn't...
Cannot get Id of the moved event in onEventMoved
Answered: Found it. There is a data object So args.e.data.id is the right property.
Duration Bar - Colour
Hi I am testing DayPilot Scheduler for a project of mine and it looks pretty good so far. I have a situation with the Duration Bar at the top. I am using this scheduler for venue booking app, and in ...
Is it possible to have multple resource/row headers width different height ?
Answered: Unfortunately it's not implemented at this moment.
Custom data in afterRender method on initial load is always null
I see that the Scheduler returns custom data in the Update(data) function on the initial page load, but it doesn't seem that the Calendar works the same. I can return data on an update, but not on an...
How to disabled all actions in date range
Answered: You can disable the parent rows using .preventParentUsage property: http://doc.daypilot.org/scheduler/parent-resources/
Filter in columns
Answered: Since build 8.0.1545 it's now possible to specify custom row data (tags) and use them in onRowFilter: Specifying custom row data (tags):
dp.resources = [
{ name: "Room A", id: "A"},
// ...
...
How to clear events?
Answered: Found a workaround: dp.events.all().each(function(e) { dp.events.remove(e); });
How to unselect a row
Answered: You can clear the selection using rows.selection.clear():
dps.rows.selection.clear();
Using SQL with DayPilot
Answered: Take a look at the following tutorial: http://code.daypilot.org/17910/html5-event-calendar-open-source It uses the Lite version to show how to load data and handle events using a very light-weight se...
How to get parent resource id
Answered: You should be able to do this:
Resource r = DayPilotScheduler1.Resources.FindById(e.NewResource);
Resource parent = DayPilotScheduler1.Resources.FindParent(r);
TimeFormat recognizion doesn't seem to work perfectly in the calendar
Answered: The Swedish locale is defined like this:
DayPilot.Locale.register(new DayPilot.Locale('sv-se',
{
'dayNames':['söndag','måndag','tisdag','onsdag','torsdag','fredag','lördag'],'dayNamesShort':['...
Scheduler looses scroll position
Answered: It looks like gets reset right after the animation starts. It happens with plain div with "overflow:auto" as well: http://jsfiddle.net/JPEaa/344/ Probably the best solution would be to hook the minim...
Insert an input to the file edit.php
I would like to know how to insert another field commented on edit.php file because eh treaty but I always get an error using the lite version and let me know if possible. Thanks.
how to show contextMenu when right-click on timeRange
Answered: You need to specify the context menu using .contextMenuSelection:
dpc.contextMenuSelection = new DayPilot.Menu([
{text: "New appointment", onclick: function (args) {
var ...
How to display datepattern year with only two numbers ?
Answered: It's now supported in the latest sandbox build (8.0.1538): http://javascript.daypilot.org/sandbox/
Day pilot event selection on right-click and double-click events
Hi, I'm working on the Day pilot Pro Javascript -v1531. When the event right-clicked or double-clicked the event should get selected and it is not doing now. Please help me to achieve this.
startdate = yesterday on scroll calendar
Hi, how can I make daypilotscheduler to start on yestarday date and finish today?? Im using c#
Filtering on multiple columns
Hi, I've been trying to find a way to do filtering (same as described here): http://javascript.daypilot.org/demo/scheduler/rowfiltering.html) but on different resource row columns (same as here): htt...