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

Questions Tagged how-to

Handling dynamic HTML when using AngularJS

Answered: Figured it out, hopefully will help somebody in the future. So you set a directive inside your custom daypilot-scheduler tag. Let's name it "dynamic-content". <daypilot scheduler id="dp" daypilot-con...

Preventing event create / resize / move on business days

Answered: It will be possible to set .allowed false in onBeforeCellRender. This feature is in the works - it's not available yet.

Limit events to nights only and setting minimum cell on select

Answered: Two approaches are possible: 1. It's possible to adjust args.start and args.end of the time range selection in real time using onTimeRangeSelecting event: http://api.daypilot.org/daypilot-scheduler-o...

How to display day, week, month and year view on selection of user choice?

Answered: Please see the new JavaScript tutorial here: http://code.daypilot.org/27988/html5-calendar-with-day-week-month-views-javascript-php

Add an input type text in the event html

Answered: DayPilot.Scheduler.eventClickHandling = 'Edit' do the job :D thank daypilot for your awesome library

Disable Row(resource)

Answered: In DayPilot Pro you can use onEventMoving and onTimeRangeSelecting events to evaluate custom rules during drag and drop and forbid the action depending on the result: http://api.daypilot.org/daypilot...

How to create a new event?

Answered: Sanjeev, please see the HTML5 Event Calendar Tutorial, "Drag and Drop Event Creating" section: http://code.daypilot.org/17910/html5-event-calendar-open-source

Multiple DayPilotMenu

Answered: Yes, you can assign a custom context menu to events using BeforeEventRender (use e.ContextMenuClientName property): http://doc.daypilot.org/scheduler/event-customization/

Project Gantt Chart

I am evaluating the Gantt chart. Is it possible to have it not expand to show all tasks unless I choose to click and open the parent record to see tasks?

datapilot.mdb issue

I cannot open the database with access. it says "unrecognized database format" could i get a list of tables and fields so i can recreate the database with MS SQL? I am using the Tutorial scheduler vs...

How to have fixed hour in day view?

Am trying to fix the hour in daypilot? I have used dp.daystartshour=8 ,it is displaying from 8.am itself,now i have problem that i need to display the whole day hours though it starts from 8am(i.e., ...

DayPilot Pro for JavaScript (OEM Team) - 5 Developers license

Hi Dan, We would like to know some more information about the "DayPilot Pro for JavaScript (OEM Team) - 5 Developers - 1 application" license. The OEM-5 developers means 1. Is it licensed to fixed 5 ...

Setting custom context Menu.

Answered: Do this instead - worked for me: args.e.contextMenu = "test";

Scheduler with no events renders with just the headers.

Is there anyway to get the scheduler to show an empty event area covering the height specified. Thanks..

How do you control the top border of event, remove it, use a different color, etc.

Answered: protected void Scheduler_BeforeEventRender(object sender, BeforeEventRenderEventArgs e) { if (condition) { e.DurationBarColor = "green"; } if (else) { e.DurationBarColor = "red"; }

Assigning data to child resource

Using the Scheduler and cannot figure out how to assign an event directly to a child in a resource. Example: Parent (type of marketing) = Email Marketing Children (list of vendors) = Constant Contact...

How can I add white space to a cell below other events to allow a user to create new events? DP pro Version: 1514

Answered: The rowMarginBottom property of the config object adds N pixels below the last event in a cell.

How can I get the original resource on the onEventMoved callback?

I have a job on the scheduler and multiple people may be assigned to the same job, I want to be able to find the original resource the job was assigned to when it is moved so I can replace the old re...

How to show only two months in the monthly scheduler

I want to show only two months in my scheduler

Disable menu item for some events

Hi , Any way to disable (or make invisible) a certain menu item (not the whole menu) for some events ?

Cell height stacked overlapping events plus one

How can I set the cell height to be the size of the stacked overlapping events plus one

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

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

Horizental seperators

I want to use a horizental separator to divide resources into groups

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/

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

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

How to show only two weeks in the weekly scheduler

Answered: Just use Days property: <DayPilot:DayPilotScheduler runat="server" id="DayPilotScheduler1" Days="14" ... />
Previous Questions 1861-1890 of 3096 Next