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

how to increase the size of cell if we have long text?

Asked by pushplata
2 years ago.

HI,
i have long text data and have to show properly in cell but cell size not working according to text. How to increase the cell size. i have added the image plz check and let me know the solution and on text only(not for event) we have perform select ,select All, cut, copy ,paste functionality could you plz guide me on that.

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

The event height is always fixed. You can increase it globally using the "eventHeight" property (https://api.daypilot.org/daypilot-scheduler-eventheight/) or per event using the "height" property of the event data object (https://api.daypilot.org/daypilot-event-data/). You can also use onBeforeEventRender to set the height for individual events (https://api.daypilot.org/daypilot-scheduler-onbeforeeventrender/).

I recommend designing the event content in a way that the event box displays only the essential information. Additional information can be displayed on hover using a bubble (https://doc.daypilot.org/bubble/) or in a modal dialog (on click).

Unfortunately, it is not possible to select the text inside events because the mousedown event is used to activate the drag and drop functionality.

Comment posted by pushplata
2 years ago.

Is there any possible way to automate the height of event?

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

Unfortunately, it is not possible to set the event height automatically based on event content.

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