SMART datagrid v.1 > Examples

Back  Forward

ScrollBar  Example

You can specify the width, start location, button start location of the grid scroll bar in various ways. And, you can also specify the style of each element separately. These properties are set through GridBase.vscrollBar and hscrollBar which are the properties of ScrollBar object. 

Grid - 1
rows

The width of vertical scroll bar. The minimum value is 8 pixels. 

The width of horizontal scroll bar. 

The start location of vertical scroll bar. 

The start location of horizontal scroll bar. 

The button location of vertical scroll bar. 

The button location of horizontal scroll bar. 

 If it is false, even if the vertical scroll state reaches both ends, wheel event will not be bubbled. 

You can set the styles such as background color of the scroll bar. 

  

View Source JSP 

See Also
ScrollBar
GridBase.vscrollBar
GridBase.hscrollBar
GridBase.scrollEdgeStyles
DisplayOptions.bubbleWheelEvents
Examples
Hello Grid
Helll Tree