Questions Tagged java

post value send

Answered: You can pass a custom object as the third parameter but it will be sent in the body serialized to a JSON string: DayPilot.request(url, successCallback, postObject); If you need to send custom post pa...

offset end date

Answered: The dates are interpreted as exact time points, i.e. when the start date is set to 01.01.2014 it means 2014-01-01T00:00:00, the end date 03.01.2014 means 2014-01-03T00:00:00. The difference between t...

When event click i am getting error.

Answered: DayPilot uses event.returnValue to prevent the default action conditionaly - only if event.preventDefault() method is not available. Most likely, this warning is not generated by DayPilot. Either way...

AJAX Event Calendar for Java and jQuery Spring

Hi, Do you have any spring application like this AJAX Event Calendar for Java and jQuery (Open-Source). I try to run AJAX Event Calendar for Java and jQuery (Open-Source) i can able to create event b...

Scheduler getRow renamed to $68

Answered: This method was internal and is now hidden. You can use the following method to get information about a cell under certain position: var cell = dps.cells.findByPixels(120, 1)[0]; var start = cell.sta...

Sub tasks for Gantt

Answered: The Gantt API will be extended in the near future. At this moment you need to use viewType="Resources" and fill the Resources collection as necessary.

Real background color length

Answered: If you want to display background objects that do not match the cell dimension it might be better to use a special kind of events for that. You can apply custom CSS in BeforeEventRender to make them ...

Row Header Auto Width

Answered: There is a bug indeed. It works like this: 1. rowHeaderHeight sets the minimal width to be used. 2. rowHeaderWidthAutoFit checks the content and if it doesn't fit there the width is increased. It sho...

Right click event

Answered: Sorry about this one. Accidentally had eventRightClickHandling = "ContextMenu" below everything

Custom hover event

Answered: It's not implemented at the moment. It might appear in the 7.4 release but I can't promise it.

How do I set the tag field when I create the event?

Answered: If you digg you shall find. Apparently you define what "tags" should be looked for in the row object. To define the tags i wrote this in the init-method: setDataTagFields("mytag1, mytag2"); Then: Row...

Bug with getScrollableHeight into the scheduler.js

Answered: Thanks for reporting the bug. It's already fixed in the latest codebase and the fix will be included in the next release: http://java.daypilot.org/daypilot-pro-for-java-7-1/

Navigator winter-time troubles?

Im using Navigator with my scheduler have set it up to use Monday as the first day of the week. It all works fine for summer months, but in the winter-time months suddenly Sunday has become the first...

netbeans + apache

Hi, I’m tried deploy java calendar with netbeans as web project, but without success. I tried create project from yours war file, also I tried create own with project with your files. Nothing worked,...

How to Enable week-numbers in Scheduler?

Answered: The week number will be displayed in the first header row if you use dps.cellGroupBy = 'Week'; You can always override the onBeforeTimeHeaderRender() to customize the header HTML: @Override public vo...

Resource-Bubble for java scheduler

Answered: Erik, The resource bubble is now implemented in DayPilot Pro for Java. Example: Default.jsp dps.resourceBubble = new DayPilot.Bubble(); DpsServlet.java @Override public void onResourceBubble(Resource...

Non-resource resource parent

I'd like to make a feature request for daypilot for java. In my application Resources have parents, but a parent is not a bookable resource itself. For example: You are running a farm-holiday-resort....

ContextMenu - confirmdelete

Answered: It should look like this: dps.contextMenu = new DayPilot.Menu([ { text:"Delete", onclick: function() { if(confirm('Are you sure?')){ dps.eventMenuClickCallBack(this.source, 'delete'); } } } ]); I've ...

Daypilot for Java: Pass paramteres to Backend

How do I pass parameters to public class AXBackend extends org.daypilot.core.Backend from jsp page? Header field has only 1 String field called Control and it is always set to "dpc" (in Calendar case...