I have a grid and I need to read the value of the horizontal scrollbar.
I can see in the docs that there is an event (‘change’) for a smart-scroll-bar component and it works perfectly, however this doesn’t work with the smart-scroll-bar component, which can be found in a Grid.
Is it a difference between the <smart-scroll-bar> component and a <smart-scroll-bar> component in grid?
How can I read the scroll bar value in the grid in the easiest way?
You can use the Grid’s grid.getHorizontalScrollValue(); method to get the horizontal scroll value position or the grid.getVerticalScrollValue() for the vertical value. However, we do not raise events when the scroll value is changed.