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

Questions Tagged javascript

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

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

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.

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

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

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.

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.

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"}, // ... ...

Scheduler looses scroll position

Answered: It looks like gets reset right after the animation starts. It happens with plain div with "overflow:auto" as well: http://jsfiddle.net/JPEaa/344/ Probably the best solution would be to hook the minim...

TimeFormat recognizion doesn't seem to work perfectly in the calendar

Answered: The Swedish locale is defined like this: DayPilot.Locale.register(new DayPilot.Locale('sv-se', { 'dayNames':['söndag','måndag','tisdag','onsdag','torsdag','fredag','lördag'],'dayNamesShort':['...

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/

Scheduler: edit row width

Answered: No, the grid of the "days". The Feature of the row-header-width is perfect. I can Change it with the mousecursor. Exactly the same Feature for the calendar-days would be cool!

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

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

Feature Request:How to reorder/resize the resource columns- Event calender - Daypilot pro javascript

Couple of weeks back, i have raised a question regarding resize/reorder of resource columns and 'Dan Letecky' requested for the sponsoring the feature. http://forums.daypilot.org/Topic.aspx/2580/how-...

Daypilot scheduler crashes when dragging and reloading

Hi! When an Event is in dragging-mode, and the auto-reload (with Event reloading) is firering, daypilot crashes

Event calendar: adjacent events falsely treated as overlapping

In the event calendar view, Daypilot Lite treats two events as overlapping if the end time of one of them is the same as the start day of the other. Therefore, neither of them takes the full width of...

HTML Application

Hello, Is there a way to embed DayPilot Scheduler in an HTML Application (.hta file) ? I've tried this little code but no way: alertbox #1 and #2 never fired, and nothing shown (path to library is ok...

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?

How to clear events?

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

IE11, Win8.1 - extrem slow reactions

Answered: Loading less Events should be a good Thing. Now i am getting back about 20 Events. And the CPU is "only" going up to 6% when reloading. And when Scrolling at this Moment the Scheduler hangs for a sho...

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

Row Filtering: problem with child-resources

Answered: This is now fixed in build 8.0.1518. The child nodes that match the filter will be visible including their parents. http://javascript.daypilot.org/sandbox/scheduler/rowfiltering.html

Parrent100Pct Div Resize

Answered: You can reset the dimensions by calling .show(): http://api.daypilot.org/daypilot-scheduler-show/
Previous Questions 1981-2010 of 2120 Next