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

Events in a same cell

Asked by BKO
8 years ago.

In DayPilot Scheduler MVC version, if I am adding more than one events into a single cell, then its displaying like top-to-bottom style. That is, its not comming in a single row. It is displaying in different rows as shown in the attachment. How can i display all the events in a single cell and single row? I don't wants to increase the cell height, but i wants to increase cell width depends on the events. How can i achieve this?

Answer posted by Dan Letecky [DayPilot]
8 years ago.

You can do this using UseEventBoxes=Never option:

http://doc.daypilot.org/scheduler/exact-event-duration/

Just note that this is not DayPilot Lite, but DayPilot Pro. I'm removing the "lite" tag.

Comment posted by BKO
8 years ago.

Thanks Mr. Dan Letecky. I tried this. Its almost working fine. But here always the cell width is same. So the event width is varying with its duration. Can I fix it constant? That means, all the events should have same width (even if they have different duration) and the width of the column which contains the cell can change. For example, suppose the event width we fixed as 50px, the if we are adding 2 events in a cell, then the column width should be 100px. If we are adding 3 events in a cell, then the column width should be 150px. How can I do like this?

Comment posted by Dan Letecky [DayPilot]
8 years ago.

In the Scheduler, the width of events always depends on their duration and this behavior can't be changed.

If you want the concurrent events to be displayed side-by-side take a look at the Calendar:

http://mvc.daypilot.org/demo/Calendar/

Comment posted by BKO
8 years ago.

Thanks Mr. Dan Letecky

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.