tabs[]

An array of tab configuration objects.

Type:

Array

Default Value: undefined

Each item of the array passed to this option can have fields described below.

alignItemLabels

Specifies whether or not labels of items displayed within the current tab are aligned.

Type:

Boolean

Default Value: true

badge

Specifies a badge text for the tab.

Type:

String

Default Value: undefined

colCount

The count of columns in the tab layout.

Type:

Number

Default Value: 1

colCountByScreen

Specifies dependency between the screen factor and the count of columns in the tab layout.

Type:

Object

Default Value: undefined

disabled

A Boolean value specifying whether or not the tab can respond to user interaction.

Type:

Boolean

Default Value: false

icon

Specifies the icon to be displayed on the tab.

Type:

String

Default Value: undefined

This option accepts the name of an icon from the built-in icon library, a path to the icon image, or a CSS class of an icon stored in an external icon library. For information on using external icon libraries, refer to the Icon Library article.

items

Holds an array of form items displayed within the tab.

Type:

Array

Default Value: undefined

Like the items option of the Form widget, the array passed to the items field of a tab can hold items of the following types.

  • Simple
    A standard item consisting of a label and an editor widget used to specify a value of the associated data field.

  • Group
    An item representing a container of other form items.

  • Tabbed
    An item representing a tabbed container of other form items.

  • Empty
    An empty item used to add a space between neighboring items.

tabTemplate

The template to be used for rendering the tab.

Type:

template

Function parameters:
tabData:

Object

A data object associated with the tab.

tabIndex:

Number

The index of the tab in the tabs array.

tabElement:

Object

The HTML element of the tab.

Default Value: undefined

template

The template to be used for rendering the tab's content.

Type:

template

Function parameters:
tabData:

Object

A data object associated with the tab.

tabIndex:

Number

The index of the tab in the tabs array.

tabElement:

Object

The HTML element of the tab's content.

Default Value: undefined
NOTE
A binding context of an item template is the data source object that corresponds to the currently rendered item. So, you can bind template elements to the item object's fields directly. To access another binding context within an item template, use Knockout/Angular binding variables.
See Also

title

Specifies the tab title.

Type:

String

Default Value: undefined