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

Timeline with sqare options for event

Asked by Mikolaj
14 days ago.

Hi, till now we're using simple gantt (jqery)

We're moving and testing all our gantts + kanbans + schedulers to Daypilot.. because is great software with many options and powerful&easy use code

We want ask if we have event for example from 1.1. to 10.1 if is possible somehow to show as in our original scheduler of our current system. We found the tutorial for tennis reservations... but if we want do same effect we must split our event (1.-10.1) which has 10 days into 10 peaces in day view .... that means from 1 event make 10 and this we need do for all events.....

Is there any option that event will doesn't show as one row whole sqarebox but will display in date or time period as small squares with defined content for all small cells ?

Is there some other way how we can easy transform our event from classic event view true cells to "tennis looking" view... Please if any question, let me know :)

Answer posted by Dan Letecky [DayPilot]
14 days ago.

Hi Mikolaj,

There are two options:

1. If you want to display your data in cells (in the background layer), you can use the logic described in the following tutorial and modify the cell properties (background color, text/html):

https://code.daypilot.org/93068/javascript-scheduler-displaying-holidays

This way you'll lose the drag and drop features available for events and you'll need to use custom click logic (implemented using on onTimeRangeSelecting/onTimeRangeSelected). It would only recommend this method for read-only views.

2. You can use standard events and split them visually to segments by defining active areas. This method is explained here:

https://doc.daypilot.org/scheduler/event-phases/

Please let me know if this is not what you are looking for.

Comment posted by Mikolaj
14 days ago.

Hi, thank you for your help...

We think that best will split our view to detail view only read-only and edit view with "usual" events with all options.
Also event phases help us in other part of project with events..

Thank you for your response :)

New Reply
This reply is
Your name (optional):