Immediately after loading the page, if I click on any cell (and whether I book something or not) and then I press the arrow keys, it doesn't navigate starting from that last clicked cell.
This is really confusing for the user and not intuitive. Is it possible to change this behaviour with some configuration or to set the focus on the last clicked cell, so it will navigate starting from it?
If I press the Enter-key then it's fine. I want to have this exact same behaviour by clicking using the mouse. And id doesn't matter wether I click something or not. BTW: I'm not using the modal dialgo for booking. Instead of it I'm using the in-place editor.
Comment posted by Dan Letecky [DayPilot] 5 years ago.
Please note that the keyboard navigation and the mouse navigation (including clicks and drag and drop operations) are independent. The mouse actions don't change the focused element. The keyboard focus is only activated when you use the arrow keys and it will stay at the last position reached by the keyboard.
OK, thank you.
But right now is there a way to listen to the mouse click event and set the focus manually, as a workaround?
Comment posted by Dan Letecky [DayPilot] 5 years ago.
You can listen to the mouse events (e.g. using onEventClick) but the missing part is the keyboard API that would let you set the focus. Please let me check the status of the implementation, maybe it will be possible to publish at least an experimental API in the next release.
Comment posted by Anonymous 5 years ago.
Thank you very much. I really appreciate it.
Answer posted by Dan Letecky [DayPilot] 5 years ago.