ParamQuery ScrollBar API Documentation

pqScrollBar is a standalone widget which is used for scrolling in pqGrid. It can also be used independently of the grid.

Reference to horizontal pqScrollBar in pqGrid can be obtained with
                
                var $pqScrollbar = $grid.find(".pq-sb-horiz");
                
                //or
                
                var scrollbar = grid.hscrollbar(); //javascript instance. ( >= v3.2.0 )
            

Reference to vertical pqScrollBar can be obtained with
                
                var $pqScrollbar = $grid.find(".pq-sb-vert"); 

                //or

                var scrollbar = grid.vscrollbar(); //javascript instance. ( >= v3.2.0 )
            

Note:

Type of events is pqscrollbar + eventName all in lowercase e.g., pqscrollbarscroll in versions < v3.2.0.
Type of events is pqScrollBar + ":" + eventName e.g., pqScrollBar:scroll in versions >= v3.2.0.
Options
Methods
Events