TabSheet.getVScrollBarId

Syntax

getVScrollBarId();

Description

The getVScrollBarId method returns identifier for container of the table vertical scrollbar.

Comments

This method returns a String-type value.

Example

To execute the example, the HTML page must contain the TabSheet component named tabSheet (see Example of Creating the TabSheet Component). Get identifier, DOM element and width of the vertical scrollbar:

// Get vertical scrollbar container identifier
var id = tabSheet.getVScrollBarId();
console.log("Vertical scrollbar identifier: " + id);
// Get DOM element of vertical scrollbar container
var domElement = tabSheet.getVScrollBarContainer();
console.log("Container DOM element:");
console.log(domElement);
// Get vertical scrollbar width value
var width = tabSheet.getVScrollbarWidth();
console.log("Width: " + width);

After executing the example the browser console shows identifier, DOM element and width of the vertical scrollbar:

Vertical scrollbar ID: tabSheet1_vertical_scrollbar
DOM element of the container:
<div id=​"tabSheet1_vertical_scrollbar" class=​"PPUiTabSheetScrollBarContainer" style=​"right:​ 0px;​ top:​ 0px;​ width:​ 16px;​ height:​ 190px;​ padding-top:​ 0px;​">​…​</div>​
Width: 16

See also:

TabSheet