getStyleByIndex(index);
index. Number. Index.
The getStyleByIndex method returns style by index.
Returns object of the PP.Ui.TabSheetCellStyle type.
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: