TabSheetMeasures.MaxColumn

Syntax

MaxColumn: Number

Description

The MaxColumn property sets maximum number of columns in the table.

Comments

Use JSON or the setMaxColumn method to set the property value, and the getMaxColumn method to get the property value.

By default the property contains Null value.

Example

To execute the example, the HTML page must contain the TabSheet component named tabSheet (see Example of Creating the TabSheet Component). Change maximum number of columns and rows in the table:

// Get table dimensions
var measures = tabSheet.getMeasures();
// Change value of maximum number of table columns
measures.setMaxColumn(2);
// Change value of maximum number of table rows
measures.setMaxRow(2);
// Rerender table
tabSheet.rerender();

After executing the example values of maximum number of table columns and rows are changed:

See also:

TabSheetMeasures