TabSheet.getRowHeaderId

Syntax

getRowHeaderId(rowIndex: Number);

Parameters

rowIndex. Table row index.

Description

The getRowHeaderId method returns identifier of the table row header.

Comments

This method returns a String-type value.

Example

To execute the example, the HTML page must contain the TabSheet component named tabSheet (see Example of Creating the TabSheet Component). Get identifier, DOM element and identifier of contents for header of the row with the index 1:

// Set row header index
var index = 1;
console.log("Row header index: " + index);
// Get row header identifier
var id = tabSheet.getRowHeaderId(index);
console.log("Identifier: " + id);
// Get row header DOM element
var element = tabSheet.getRowHeaderNode(index);
console.log("DOM element:");
console.log(element);
// get identifier of row header contents
var contentId = tabSheet.getRowHeaderContentId(index);
console.log("Identifier of row header contents: " + contentId);

After executing the example the browser console shows identifier, DOM element, and identifier for header contents of the row with the index 1:

Row header index: 1
ID: rowHeaderCell_row_1_tabSheet1
DOM element:
<td id="rowHeaderCell_row_1_tabSheet1" class="PPUiTabSheetHeaderCell PPUiTabSheetRowHeaderCell" style="height: 49px; width: 33px;">…</td>
ID of row header content: div_rowHeaderCell_row_1_tabSheet1

See also:

TabSheet