Skip to main content

tabControl()

Call Signature

tabControl(pages?, options?): TabControl

Defined in: js-api/ui.ts:199

Example: https://public.datagrok.ai/js/samples/ui/components/tab-control

Parameters

ParameterTypeDescription
pages?{[key: string]: any; } | nulllist of page factories
options?ITabControlOptionssee ITabControlOptions

Returns

TabControl

Call Signature

tabControl(pages, vertical, key?): TabControl

Defined in: js-api/ui.ts:201

Parameters

ParameterType
pages{[key: string]: any; } | null
verticalboolean
key?string | null

Returns

TabControl

Deprecated

Use tabControl(pages, {vertical, key}). Removed in 1.29.

Call Signature

tabControl(pages, options, key): TabControl

Defined in: js-api/ui.ts:203

Parameters

ParameterType
pages{[key: string]: any; } | null
optionsITabControlOptions
keystring | null

Returns

TabControl

Deprecated

Pass the key in the options: tabControl(pages, {key}). Removed in 1.29.