[]
        
(Showing Draft Content)

Scrollbar

SpreadJS allows you to scroll the worksheet horizontally and vertically to view the data that falls outside the viewport area. You can scroll the worksheet with scrollbars, arrow keys at both ends of the scrollbars, scrollbar drag buttons, a mouse, or a trackpad.



Use the thumb bar (drag button) to scroll large areas of the control. Use the button with the arrow to scroll a row or column at a time.

The mouse or trackpad helps in scrolling the worksheet with more control. To scroll the worksheet vertically, scroll the mouse wheel or trackpad up and down. Similarly, to scroll the worksheet horizontally, scroll the mouse wheel or trackpad up and down while simultaneously pressing the Shift key.

SpreadJS also allows you to work with the scrollbar and its various options, to scroll the viewport by pixels, or customize the scrollbar appearance. Refer to the following topics to learn more: