TabSheet.getVisibleHeight

Syntax

getVisibleHeight();

Description

The getVisibleHeight method returns visible table height in pixels.

Comments

This method returns a Number value.

Example

To execute the example, the HTML page must contain the TabSheet component named tabSheet (see Example of Creating the TabSheet Component). Get values of the visible height and width for the table:

// Get value of visible table width
var visibleWidth = tabSheet.getVisibleWidth();
console.log("Visible table width: " + visibleWidth);
// Get value of visible table height
var visibleHeight = tabSheet.getVisibleHeight();
console.log("Visible table height: " + visibleHeight);

After executing the example the browser console shows table width and height:

Visible table width: 334
Visible table height: 174

See also:

TabSheet