search envelope-o feed check
Home Unanswered Active Tags New Question

Questions Tagged how-to

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 ...

Infinite/Endless Scrolling: Scheduler

Answered: It's not implemented yet but it's in the queue.

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 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);

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 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/

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 ...

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.

Calendar OnEventSelected() event doesn't change the back color of event

Hello, I'm working on the daypilot event calendar javascript pro - v1531. I have 2 events in my calendar. The first event had some back ground color and the second event had default color. When i sel...

startdate = yesterday on scroll calendar

Hi, how can I make daypilotscheduler to start on yestarday date and finish today?? Im using c#

How to unselect a row

Answered: You can clear the selection using rows.selection.clear(): dps.rows.selection.clear();

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...

Add CheckBoxes/Radio Buttons next to Resources Children, Also provide functionality to select available time

Hi All, I am trying to mimic the behavior we see in outlook for scheduling a meeting, where in on the left most side we have attendees and/or meeting rooms and right side it shows timeline for all. I...

Expand specific resource from resource tree.

I have resource tree which has 2 levels. I want to expand only specific resource based on condition and others are collapse. how to do?

Calendar appointments with UTC start/end

Hello, I am trying out DayPlanner MVC on Azure Websites. They run in UTC. When the DayPilot javascript calls the Backend controller method, the start and end times of events are in the correct time i...

How to clear events?

Answered: Found a workaround: dp.events.all().each(function(e) { dp.events.remove(e); });

Pass Parameters to BackendController Dpc Class Onfinish

Answered: 1. You can use the ClientState property: http://doc.daypilot.org/scheduler/clientstate/ 2. Or you can modify the .backendUrl dynamically on the client side and read the query string it in the control...

Prevent resetting to top of scheduler after saving?

Answered: In most cases, it should not reset (at least it is not reset explicitly). However, you can save the vertical scrollbar position before the AJAX call using getScrollY() and set it to the same value af...

Duplicated rows

Hi, I fill my daypilotscheduler with a datateble just like on the demo. But when I add more that one reservation for a room it works ok showing every reservation next to another, but generates new ro...

Parrent100Pct Div Resize

Answered: You can reset the dimensions by calling .show(): http://api.daypilot.org/daypilot-scheduler-show/

Adding resources breaks cellWidthSpec="Auto"

I have a DayPilot scheduler on my app. When I set up the component originally, it is set with cellWidthSpec="Auto" and everything is set fine. I later retrieve my resources via Ajax and set them into...

how can I Prevent Time Range Selecting on non business days

Hi, How can I disable the time range selection on a previous period or non business days. Ranjith

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

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...
Previous Questions 1861-1890 of 3052 Next