Support Forum
I don't have readable Bryntum Scheduler source code.
The video clip shows an example (https://www.bryntum.com/examples/schedul ... gdrop.html).
Added display of selected cell.
externaldragdrop.css
In this example, the class is only installed component.
The video clip shows an example (https://www.bryntum.com/examples/schedul ... gdrop.html).
Added display of selected cell.
externaldragdrop.css
.sch-schedulerview td.sch-dd-cellover{
background: red !important;
}
In this example, the class is only installed component.
- Attachments
-
- Movie.zip
- (382.14 KiB) Downloaded 415 times
Sorry. The first video was done by the program. Exe type of file is by default
https://www.fileserve.com/file/SqRqfTt/Movie.zip
Avi in zip archive.
https://www.fileserve.com/file/SqRqfTt/Movie.zip
Avi in zip archive.
This cell-over highlighting is not really compatible with the current drag-drop implementation, the 'bug' happens because all events are rendered into the first cell of each row. Either remove the CSS class, or You could definitely try to override and solve this by doing something like
This should prevent highlighting of a cell when you're hovering over an event.
Sch.feature.DropZone.override({
getTargetFromEvent: function(e) {
return e.getTarget('.sch-timetd', 2);
}
});
This should prevent highlighting of a cell when you're hovering over an event.