Hello. I want to scroll the grid horizontally by using the mouse wheel. I also want this to be enabled only when no vertical scroll is shown. Is there any way of achieving this by using grid settings?
If not, I am trying to handle this by manipulating the ".k-grid-content" element. But I am trying to access this element inside a directive with:
ngAfterViewInit(): void {
console.log(this.el.nativeElement.querySelectorAll('.k-grid-content'));
}
Or with Renderer2:
this.renderer2.listen('.k-grid-content', 'wheel', (event) => {
console.log('WHEEL: ', event);
});
But it is not working. Is it possible to access that element inside my directive?
Thank you.