- Home
- Forum
- Angular - EJ 2
- All-day (whole day) events wrapping
All-day (whole day) events wrapping
Hello.


I would like to wrap whole day events so that all the text is shown in the event card.
Example:
now it looks like this:
I want it to look like this:
But with nicer styling ofc.
I would kindly ask you for an example.
Best regards. Marko
SIGN IN To post a reply.
3 Replies
KK
Karthigeyan Krishnamurthi
Syncfusion Team
August 27, 2019 08:25 AM UTC
Hi Marko,
Syncfusion greetings.
It is the default behavior of all day event. We recommend to use tooltip option where we can display the whole subject value along with ‘n’ number fields.
Regards,
Karthi
MB
Marko Bezjak
August 27, 2019 08:55 AM UTC
Hello.
Yes we already considered using tooltip but we decided not to because it is not user friendly if you have to mouse over for every whole day activity (and there can be many). Can you possibly create some sort of workaround for my example? I would be really grateful if so.
Thank you in advance.
Marko
VD
Vinitha Devi Murugan
Syncfusion Team
August 28, 2019 12:12 PM UTC
Hi Marko,
Thank you for contacting syncfusion.
As per your requirement, we had prepared the sample which is available in below link:
The customization can be achieved in CSS level at sample end. For your reference, kindly refer the below code block.
|
.e-all-day-row{
height:180px!important;
}
.e-left-indent .e-left-indent-wrap tbody tr:last-child{
height:180px!important;
}
.e-all-day-appointment{
height:180px!important;
}
.e-all-day-appointment .e-appointment-details{
white-space: normal;
}
.e-all-day-appointment .e-appointment-details .e-subject{
word-break: break-all;
overflow: unset!important;
text-overflow: unset!important;
} |
There is some limitations in this customization. If the appointment height is set as auto, the title of the appointment should be displayed fully, but the dimension of each appointment should get vary and appointment render calculations should suffers to render all events.
Kindly check the above code with provided sample and revert us, if you need any further assistance on this.
Regards,
Sathya. N
SIGN IN To post a reply.
- 3 Replies
- 3 Participants
-
MB Marko Bezjak
- Aug 26, 2019 11:32 AM UTC
- Aug 28, 2019 12:12 PM UTC