TabSheetModel.getStyleByIndex

Syntax

getStyleByIndex(index);

Parameters

index. Number. Index.

Description

The getStyleByIndex method returns style by index.

Comments

Returns object of the PP.Ui.TabSheetCellStyle type.

Example

To execute the example, the HTML page must contain the TabSheet component named tabSheet (see Example of Creating the TabSheet Component). Get the first style:

// Get table data model
var model = tabSheet.getModel();
// Get the first style
model.getStyleByIndex(0);

After executing the example the first style is obtained.

See also:

TabSheetModel