You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks so much for opening an issue! If you'd like me to give priority to answering your issue or would just like to support this project, then please consider sponsoring me
Very hacky solution: I added data-attributes, and indexes and based on that I can get user ID
<divclass="cal-week-view" role="grid"><divclass="cal-day-headers" role="row"><divclass="cal-header" *ngFor="let user of users; trackBy: trackByUserId; index as i;" [attr.data-index]="i" [attr.data-masterId]="user.id" tabindex="0" role="columnheader"><b>{{ user.name }}</b></div></div>
<divclass="cal-day-column" data-id="{{column}}" *ngFor="let column of view.hourColumns; trackBy: trackByHourColumn; index as i;" [attr.data-index]="i" >
(mousedown)="startDragToCreate(segment, $event, {hour, trackByHour, column, hour, user, i })"
Is your feature request related to a problem? Please describe
A Day view with Drag to create.
I tried to combine
Day view Scheduler
andDrag to create
but in drag to create day position is calculated using with and height of a DIV
Describe the solution you'd like
API to get current Column ID in mouse drag
user - undefined now
get a row Id or User object
Describe your use case for implementing this feature
Or some other way to get current
ROW
orUser
Additional context
The text was updated successfully, but these errors were encountered: