control.selectTab()
- Last UpdatedJun 25, 2024
- 1 minute read
Use control.selectTab() method to select a specific tab, that is switch to a specific tab, in the Tabs container.
Syntax
control.selectTab(index);
Parameters
|
Parameter |
Description |
|---|---|
|
index |
Specifies the index of the tab to be selected. Note: Index starts from 0. |
Return Value
None.
Example
// Select the second tab in the Tabs container.
control.findById("T1").selectTab(1);