Hello,
I need to disable Pivot scroll, I tried with this
this.wheelListen = this.renderer.listen(this.pivotElement.nativeElement, 'wheel', (event) => {
event.preventDefault();
event.stopPropagation();
event.stopImmediatePropagation();
});
It's work but not in all of pivot, the left part scroll.
Do you have any ideas?
Thanks
Best regards
Hello,
Thank you for contacting us.
To disable the possibility of scrolling the grid, we suggest adding the following CSS styling to the page:
#fm-pivot-view > div.fm-ui-element.fm-ui.fm-ui-container.fm-grid-view > div > div.fm-ui-element.fm-sheet-canvas.fm-data-sheet > div { overflow: hidden !important; } #fm-pivot-view > div.fm-ui-element.fm-ui.fm-ui-container.fm-grid-view > div > div.fm-ui-element.fm-sheet-canvas.fm-rows-sheet > div, #fm-pivot-view > div.fm-ui-element.fm-ui.fm-ui-container.fm-grid-view > div > div.fm-ui-element.fm-sheet-canvas.fm-cols-sheet > div { pointer-events: none; }
You are welcome to see the example we have prepared to demonstrate the described approach.
Please let us know if it works for your case.
Do not hesitate to contact us in case other questions arise.
Kind regards,
Illia
Hello,
It's works.
Thanks a lot
Best regards
This question is now closed