- Home
- Forum
- React - EJ 2
- How to select Horizontally in the schedule
How to select Horizontally in the schedule
Hi,
I need to know how to make the selection in the Schedule horizontally.
The normal behavior when selecting more than one cell is to fill all the hours in between. I have the requirement to only select the cells (timeslots) that the user is dragging on.
For more clarification this is how it behaves:
This is what I need:
Is there a way to do this?
Regards
Hello,
Thanks for the swift reply.
Thanks for the confirmation that it is not possible, but we have tried forcing it and we still have a couple of issues.
We have not been able to capture the mouse-down event, and therefore cannot change the gray cell shading until the mouse is released. How can we do this?
We are required to press enter to confirm the selection, can this be skipped?
Once an event is made, we are unable to interact with the calendar beneath it. Is there a way to allow us to keep using the calendar to adjust our events?
We have not been able to capture the mouse-down event, and therefore cannot change the gray cell shading until the mouse is released. How can we do this?
You can customize the cell color when it is selected using the below customized styles.
https://stackblitz.com/edit/ej2-react-schedule-cell-selection-color?file=index.html
index.css:
.schedule-overview.e-schedule .e-vertical-view .e-work-cells.e-selected-cell { background-color: green; } |
We are required to press enter to confirm the selection, can this be skipped?
You need to press enter to confirm the selection and open the editor.
Once an event is made, we are unable to interact with the calendar beneath it. Is there a way to allow us to keep using the calendar to adjust our events?
Once an event is created, we are able to adjust the event like resizing and drag & drop.
Regards,
Satheesh
- 3 Replies
- 2 Participants
-
GU GUU
- Dec 19, 2023 01:02 AM UTC
- Dec 21, 2023 03:07 AM UTC