TabSheetMeasures.getDefaultColumnVisibility

Syntax

getDefaultColumnVisibility();

Description

The getDefaultColumnVisibility method gets if columns are visible by default.

Comments

This method returns True if table columns are shown by default, otherwise it returns False.

Example

To execute the example, the HTML page must contain the TabSheet component named tabSheet (see Example of Creating the TabSheet Component). Find out if table columns and rows are shown by default:

// Get table dimensions
var measures = tabSheet.getMeasures();
// Determine whether columns are visible by default
var isColVisible = measures.getDefaultColumnVisibility();
console.log("By default table columns are " + (isColVisible ? "visible." : "not visible."));
// Determine whether rows are visible by default
var isRowVisible = measures.getDefaultRowVisibility();
console.log("By default table rows are " + (isRowVisible ? "visible." : "not visible."));

After executing the example the browser console shows a message that by default table rows and columns are visible.

See also:

TabSheetMeasures