Hi all,
in the scheduler i tryed to use the dropoverCell event, but seems do not work, this event should be fired when i release a draggable item on a cell, is that right?
Do you have any example that can help me to resolve this issue?
scheduler.html
<div>
<div> <smart-scheduler #scheduler</div>
<div> id=”scheduler”</div>
<div> [view]=”view”</div>
<div> [views]=”[‘day’,’week’,’month’]”</div>
<div> [firstDayOfWeek]=”firstDayOfWeek”</div>
<div> [hideAllDay]=”true”</div>
<div> [colorScheme]=”[‘#D50000’, ‘#E67C73’, ‘#F4511E’, ‘#F6BF26’, ”]”</div>
<div> (onEditDialogOpening)=”openEditBooking($event)”</div>
<div> (onDateChange)=”changeDate($event)”</div>
<div> (onViewChange)=”viewChange($event)”</div>
<div> (onDropoverCell)=”onDropoverCell($event)”</div>
<div> /></div>
</div>
<div></div>
scheduler.ts
<div>
<div> onDropoverCell (event: CustomEvent): void {</div>
<div> const detail = event.detail,</div>
<div> target = detail.target;</div>
<div> // date = detail.date,</div>
<div> // allDay = detail.allDay;</div>
<div> console.log(target.toString())</div>
<div> // event handling code goes here.</div>
<div> }</div>
</div>
Regards
Andrea