Questions Tagged
Events in a same cell
Answered: You can do this using UseEventBoxes=Never option: http://doc.daypilot.org/scheduler/exact-event-duration/ Just note that this is not DayPilot Lite, but DayPilot Pro. I'm removing the "lite" tag.
how to apply css to scheduler
Answered: You should apply the theme using Theme property of the <DayPilot:DayPilotScheduler> tag like this:
<DayPilot:DayPilotScheduler
Theme="scheduler_8"
...
/>
Please note that you need to inc...
Hide TimeHeaders with Java-API
Answered: It looks like a bug. Normally, you should be able to hide the time header using getTimeHeaders().clear(). Please let me check the problem. You can also try to set the header height to 0 as a workarou...
Sheduler + Jquery Tabs scaling problem
Answered: The latest DayPilot Pro for ASP.NET MVC version (8.1) includes an auto-detection mechanism that waits until the Scheduler becomes visible and fixes the layout. It looks like you might be using an old...
Backend Database
Answered: The format of the array items is described here: http://api.daypilot.org/daypilot-event-data/ See also the following tutorial, it includes PHP and ASP.NET MVC versions of the project: http://code.day...
how to show tooltip or wordwrap an event for scheduler.
how to show tooltip or wordwrap an event for scheduler.I am using nuget package of daypilot version 5.0.303.0
How To Lock The Header Line When Scrolling Down
Answered: Please take a look at the HeightSpec property options: http://doc.daypilot.org/scheduler/height/
Appoinments are not syncing in daypilot scheduler
Answered: If you load the data from the same source and update the source correctly both instances should display the same data. If you want to force an update from the client side you can use dp.commandCallBa...
HIde empty cells
Answered: 1. In the Scheduler (http://javascript.daypilot.org/scheduler/), you have the following options: (1.A) X-Axis (Time) You can hide certain time periods. You can do it either using onIncludeCell (which...
How to Ordering overlapping events
Answered: All main controls (Calendar, Scheduler, Month) let you specify a custom sorting rule: http://doc.daypilot.org/calendar/event-sorting/ http://doc.daypilot.org/month/event-sorting/ http://doc.daypilot....
Erreor ASP.net Dayploit.dll : Impossible to find entry point in DLL dile"...\dayploit.dll"
Answered: As far as I can tell you can get this error if you create a DLL in C++ and use it in a C#/VB project and the functions are not exported properly. However, this is not the case of DayPilot which is wr...
Binding Datatable
Answered: The order of the resources (rows) follows the order of items in the Resources collection: http://doc.daypilot.org/scheduler/resource-loading/ The events are sorted automatically using a rule correspo...
Export Image or PDF in Javascript
Answered: The PNG image export is in the works and it will be available in the next release (8.2) - in a few weeks. You can find a preview of the implementation in the sandbox: http://javascript.daypilot.org/s...
Ability to add/remove/update rows without updating entire control
Answered: You can find and modify the cells using cells.find(), cells.findXy() and cells.findByPixels() methods: http://api.daypilot.org/daypilot-scheduler-cells-find/ http://api.daypilot.org/daypilot-schedule...
DayPilotCalendar not rendering hours correctly in HeightSpec=BusinessHoursNoScroll if toggled hidden/visible
Answered: The browsers don't allow setting the scrollbar position on elements that are hidden. The workaround is to call dp.enableScrolling() on the client side after the control becomes visible (where "dp" is...
Time range selection in schedular has a delay when using touch rather than mouse
Answered: This is by design - starting the time range selecting immediately it would prevent grid scrolling. You can configure the delay using tapAndHoldTimeout (the default value is 300ms): http://api.daypilo...
How to customize X-Axis
Answered: 1. In the Lite version, e.DataItem is only used for ViewType="Gantt". In that case, it stores the event source object (after calling DataBind()). In other modes e.DataItem.Source is null. In the Pro ...
How do I change the color of individual row header cells?
Answered: In the latest build (8.1.2007) the resource.columns[] array supports .backColor and .cssClass properties (in addition to .html). Example: dp.resources = [ { name: "Room 101", id: "101", columns: [{ht...
How can I display the occupancy rate or the number of reservations per day in the timeline or a specific row ?
Answered: 1. If you want to display row summaries, you can add one more row header column and display the data there: http://doc.daypilot.org/scheduler/row-header-columns/ 2. If you want to display column summ...
How to set the scheduler timeline view?
Answered: You can set the number of visible days using Days property. Example:
<DayPilot:DayPilotScheduler
Days="10"
...
/>
Incompatible Client Script Version
Answered: It looks like an old DayPilot.Mvc.dll is cached somewhere. The latest version of DayPilot.Mvc.dll (8.1.5813) works with client script version 1944. Client script version 707 is used by build 7.7.5654.
Custom Time Header and Tooltip in Scheduler
Answered: You can force a reload of the scheduler by calling .update(): http://api.daypilot.org/daypilot-scheduler-update/ With the progressive rendering options enabled (they are enabled by default) it is a r...
how to load events from two database table
Answered: Create a new SqlDataAdapter for the second table (da2) and call da2.Fill(dt) to add the data to the same DataTable (dt).
How to remove DEMO text in DayPilotCalendar using DayPilot API with asp.net and C#
Answered: The "DEMO" indicates that you are using a trial version of DayPilot Pro. In order to remove it you need to purchase DayPilot Pro: http://www.daypilot.org/buy/
How to Refresh DayPilot Lite Scheduler after entering event
Answered: This happens because you access e.DataItem in your BeforeEventRender event handler but you don't load the events using DataBind() during the PostBack (ButtonRefresh_Click). The events are loaded from...
GANTT: Calculating time for superordinate task
Dear all, when I create 2 subtasks, the superordinate task does not calculate to correct days. (Means beginning of the first task and end of the second task = complete duration for the superordinate
Row Selection Highlight
Answered: It might be a CSS issue. You can check whether the CSS is being applied properly using Chrome developer tools - the row header columns should have *_rowheader_selected applied (where * is the theme n...
Scheduler in tab control
Answered: When you initialize a Scheduler that is in a hidden part of a page (like in case of a hidden tab) it is not possible to initialize the dimensions properly (all dimensions returned by the browser are ...
dp.locale = "es-es" not working
Answered: This bug should be fixed now in the latest build (8.1.1973). You can download it in the sandbox: http://javascript.daypilot.org/sandbox/
Hours allocated/worked for resources
Answered: This depends on the logic. There are two possible approaches: 1. Use a custom color of the grid cells to indicate the allocated hours (from-to). You can use BeforeCellRender to set the color directly...