- Home
- Forum
- Angular - EJ 2
- Todays Date Blocked after navigate to week before actual
Todays Date Blocked after navigate to week before actual
Something odd happening on my scheduler setup, whenever i change weeks, after i return to the present week, the todays schedule gets grayed out and mouse events cannot be trigger on the function.
Scheduler Code:
<ejs-schedule
#scheduleObj
width='100%'
cssClass='timeline-resource-grouping'
height='auto'
[selectedDate]="selectedDate"
[group]="group"
[workDays]="workDays"
[eventSettings]="eventSettings"
[timeScale]="timeScale"
[currentView]="currentView"
(actionComplete)="onActionComplete($event)"
(renderCell)="onRenderCell($event)"
(dataBound)="onDataBound()"
(popupOpen)="onPopupOpen($event)"
(dragStart)="onDragStart($event)"
(dragStop)="onDragStop($event)"
(eventRendered)="onEventRendered($event)"
(resizeStop)="onResizeStop($event)"
[quickInfoOnSelectionEnd] = "true"
>
<ng-template #dateHeaderTemplate let-data>
<div class="date-text"></div>
<div [innerHTML]="getDateHeaderText(data.date)"></div>
</ng-template>
<ng-template #resourceHeaderTemplate let-data let-index>
<div style="height: 100%; display: flex; align-items: center; justify-content: start;">
<div [matMenuTriggerFor]="menu" class="btn btn-icon btn-custom btn-icon-muted">
<img class="thumbnail" *ngIf="isChildNode(data)" [src]="getIconClass(data.resourceData.text)" alt="{{data.resourceData.ImageName}}" style="height: 57px; width: 30px;" />
</div>
<mat-menu #menu="matMenu">
<ng-container *ngFor="let estatus of estatusArray">
<button (click)="onStatusChange(data.resourceData.text, estatus.Descripcion)" mat-menu-item>
<span>{{estatus.Descripcion}}</span>
</button>
</ng-container>
</mat-menu>
{{data.resourceData.text}}
</div>
</ng-template>
<e-resources>
<e-resource
field='ProjectId'
title='Choose Project'
[dataSource]='tipoHabGroupDataSource'
[allowMultiple]='allowMultiple'
name='Type'
textField='text'
idField='id'
colorField='color'
>
</e-resource>
<e-resource
field='TaskId'
title='Category'
[dataSource]='habitacionPorTipoDataSource'
[allowMultiple]='allowMultiple'
name='Rooms'
textField='text'
idField='id'
groupIDField='groupId'
colorField='color'
>
</e-resource>
</e-resources>
<e-views>
<e-view option="TimelineDay" [interval]="dayInterval"></e-view>
<e-view option="TimelineWeek"></e-view>
<e-view option="TimelineWorkWeek"></e-view>
<e-view option="TimelineMonth"></e-view>
</e-views>
</ejs-schedule>
SIGN IN To post a reply.
1 Reply
SR
Swathi Ravi
Syncfusion Team
September 23, 2024 12:32 PM UTC
Hi Arturo,
Thank you for contacting us.
We understand the concern you're facing with the Scheduler when navigating between weeks, where today's date gets grayed out, and mouse events become unresponsive. We attempted to replicate this issue by following the steps and using the provided code, but were unable to reproduce the behavior on our end.
To assist you further, we’ve prepared a sample based on your shared code snippets, which works as expected without the issue. Please review the attached sample and help us with the following:
- Could you share the customization code for events and the specific property values used in your TypeScript files?
- Try to replicate the issue in the provided sample.
- A video demonstration or detailed steps to replicate the issue on your setup would also be very helpful.
We look forward to your response and are committed to resolving this issue swiftly.
Regards,
Swathi
SIGN IN To post a reply.
- 1 Reply
- 2 Participants
-
AM Arturo Martinez
- Sep 21, 2024 04:39 AM UTC
- Sep 23, 2024 12:32 PM UTC