I have a Switch component as a cell. When I press "Space" key the grid scrolls down. Is there a way to turn it off?
1 Answer, 1 is accepted
answered on 13 Aug 2020, 01:11 PM
This is expected as space will make every scrollable container including the page itself to scroll. This come directly from the browsers and the KendoReact Grid has no control over it.
In this case, I can suggest attaching an onkeydown event over the Grid DOM element or over the body and preventing it if it is space and also based on the target as otherwise, the user will not be able to type space inside text: