This is a migrated thread and some comments may be shown as answers.

Keyboard Navigation

1 Answer 63 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Caio
Top achievements
Rank 1
Caio asked on 28 Apr 2020, 07:00 PM

Hi!


In the documentation it says: "The keyboard navigation of the Scheduler is always available."


Is there any way to disable it?

1 Answer, 1 is accepted

Sort by
0
Accepted
Martin
Telerik team
answered on 30 Apr 2020, 06:51 AM

Hi Caio,

I am afraid that the keyboard navigation of the Scheduler (and any kendo component that supports the same) cannot be disabled. But with some custom JavaScript code, practical keys can be tracked and prevented when they are clicked, using addEventListener.

Here is an example where I disabled the left and right arrows in ngAfterViewInit hook:

https://stackblitz.com/edit/angular-xq2a9b?file=app/app.component.ts

If any further assistance is required for this case, please provide some details about the project requirements that you have so that we can try to provide more suitable assistance for this case. Thank you in advance 

Regards,
Martin
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
Scheduler
Asked by
Caio
Top achievements
Rank 1
Answers by
Martin
Telerik team
Share this question
or