Hi Umair Ahmed,
Greetings from Syncfusion Support.
Q1: We have prepared a sample based on your shared scenario by applying the CSS styles, which can be viewed from the below sample link,
.template-wrap {
white-space: normal;
} |
Q2: It is possible to customize the display of needed event information on tooltip by making use of the tooltipTemplate option within the eventSettings like below,
App.component.ts
public eventSettings: EventSettingsModel = {
dataSource: eventsData,
enableTooltip: true,
};
App.component.html
<ng-template #eventSettingsTooltipTemplate let-data>
<div class="tooltip-wrap">
<div class="content-area">
<div class="name">{{data.Subject}}</div>
<div *ngIf="data.City != null && data.City !=undefined">
<div class="city">{{data.City}}</div>
</div>
<div class="time">From : {{data.StartTime.toLocaleString()}} </div>
<div class="time">To : {{data.EndTime.toLocaleString()}}
</div>
</div>
</div>
</ng-template>
Kindly try the above sample and revert us for further assistance with this.
Regards,
Vengatesh