Questions Tagged
How to customize color code for events in Scheduler
Hi Team, Currently we are evaluating DayPilot Scheduler for one of our projects. We have a requirement where color code of events in scheduler needs to be customized based on certain conditions. Is t...
BusinessBeginsHour BusinessEndsHour not set when switching between day, week, and month view
I'm following this tutorial: http://code.daypilot.org/33944/event-calendar-day-week-month-for-asp-net-mvc to create calendar in day, week or month view. I've set BusinessBeginsHour and BusinessEndsHo...
How to undo the action DayPilot.Scheduler on event moved on the last event i saved without reloading the page?
Answered: try this code.. i hope i will helps you.. i did not use args.preventDefault(); but i use the code calling on events.php to load the updated data dp.message("MoveCancelled"); DayPilot.request("backend...
how to switch between monthView to dayView after clicking on monthview's date.
Hi, i have a requirement like, after clicking on the particular day in the monthView the view should be changed or reloaded to dayView with selected date in the monthview and with loading the records...
onBeforeHeaderRender() event was not called on initializing the event calendar
Hi, I'm working on the Daypilot event calendar javascript - version 1596. I have initialized the daypilot event calendar on a <DIV> with 3 resource columns and i'm modifying the resource column text ...
Childs open automatically when dragging over
Answered: You can turn it off using treeAutoExpand property:
dp.treeAutoExpand = false;
See also http://api.daypilot.org/daypilot-scheduler-treeautoexpand/
Divide on minutes i attached the screen short.
Answered: You can customize the hour header using TimeHeaderCellDuration property: http://doc.daypilot.org/calendar/time-header-cell-duration/
Disable context menu item & Dynamic context menu
Answered: #1 Since build 1591 you can use "disabled" attribute of a menu item. Please see the updated jsfiddle: http://jsfiddle.net/jLLck2sz/2/ #2 There is no context menu for grid cells, only for time range s...
rows.filter() while onEventMoving()
Answered: Unfortunately it's not possible to use the filter in onEventMoving because the filter() method causes a refresh of the Scheduler (and it disrupts the current drag and drop operation). Also calling an...
How to allow overlapping only for some events
I have a set of tasks some of them are deleted but will remain displayed on the scheduler so I want to allow overlapping only for them which mean I can add a task overlapped with a deleted one
Left click Bug
Hi to all, I just encountred a strange bug while playing with my scheduler ; I accidently cleft clicked on an empty cell of the scheduler and all the events were gone ! Why and how to fix it
Fix the upper Resource? (2nd try)
Answered: Unfortunately there is no quick solution other than using two Schedulers. However, this is just a workaround and may not work in all cases.
<div id="dp1"></div>
<div id="dp2"></div>
<script>
...
How to show only two weeks in the weekly scheduler
Answered: Just use Days property:
<DayPilot:DayPilotScheduler
runat="server"
id="DayPilotScheduler1"
Days="14"
...
/>
Collapse feature and dynamic loading
Hi, I'm using the collapse feature for resources and dynamic loading for events, but when I collapse resources events does not load until I user the sroll how to fix this ?
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 ?
Allow/Deny Drag and Drop per Event Deosn't work in version: 7.9.3373.0
Answered: 1. This issue is related to the default MoveBy value. For MoveBy="Full" (which is now the default value) disabling event moving in BeforeEventRender has no effect. This issue is fixed in the latest s...
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...
Drag and Drop Indicators with Informations about a Resource
Answered: The latest build (8.0.1571) now stores the row information in a DayPilot.Row object accessible as args.row: http://javascript.daypilot.org/sandbox/ In previous releases you can get the row object usi...
Two vertical scroll bars when heightSpec:"Fixed
Answered: It should be fixed now in the latest sandbox build. The fiddle works now. Thanks for reporting the issue.
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...