Questions Tagged how-to
Forbidd Events Overlapping
Answered: Please make sure that you are using an up-to-date CSS theme. Older themes may not include the *_shadow_overlap CSS class that is used to highlight the forbidden position. You can create a new theme i...
How to fast up the event tool tip when it is placed over a event.
When placing the mouse pointer over a event in monthly calendar view, it takes 3-5 seconds to load the tool tip. How fast up can be done. Event Bubble is used to display the tool tip, like to speed u...
How to change the TimeRangeSelectingStartEnd date to french language
How to change the TimeRangeSelectingStartEnd date to french language
Show colored dwith the event name
Hi all, I want to show a colored div with the name of each event, any idea how to do ?
Change row height
Answered: You can set the height of all events in a row using BeforeResHeaderRender event handler/e.EventHeight property. If there are no events in that row this will make the height of that row equal to the e...
How to align the event name (text) to center in monthly view calender
Answered: You can create a new theme in the theme designer and use Events / Text alignment: center http://themes.daypilot.org/month/create Example: http://themes.daypilot.org/month/theme/szipwb
Event Start Time and End Time is not displayed for an Event in the Month View when CSSOnly = "True"
DayPilot Version - 7.9 We were using a older version of the DayPilot control and now upgraded to 7.9 version. We notice that after we upgraded the same, the event start time and end time is not displ...
Event Background color
Answered: The code for setting custom event background color should look like this:
protected void DayPilotCalendar1_BeforeEventRender(object sender, BeforeEventRenderEventArgs e)
{
e.BackgroundColor...
Event bubble missing - Event Calendar javascript
Answered: There are three problems with the fiddle: 1. You need to add bubble property to the config:
bubble: new DayPilot.Bubble(),
2. Don't call .init() if you are using the jQuery plugin. The .init() m...
Unexpected Number When Opening Add Event Dialog
Answered: You need quotes around the parameters so it produces something like this: timeRangeSelected('4/13/2015 12:00:00 AM', '4/19/2015 12:00:00 AM', '106'); Try this:
page.ClientScript.RegisterStartupScri...
Replace Open Source DLL with Trial DLL breaks app
When my DayPilot reference points to DayPilot Lite (version 5.0.302), and I run the project, I see DayPilot Scheduler rendered on the page. When I change the reference to the Trial version of DayPilo...
Pass additional data to makeDraggable
Answered: Build 1736 now copies all properties of the makeDraggable parameter (except of "duration" and "element") to the newly created DayPilot.Event.data property (which is accessible in onBeforeEventRender ...
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...
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 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...