DataSource
configurationThe data source of the widget which is used to display the items. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing kendo.data.DataSource instance.
If the dataSource option is set to a JavaScript object or array the widget will initialize a new kendo.data.DataSource instance using that value as data source configuration.
If the dataSource option is an existing kendo.data.DataSource instance the widget will use that instance and will not initialize a new one.
dataSource
Object|Array|kendo.data.DataSourcedataSource.actions
ArrayDefines a collection of action buttons that are rendered in the tab. The actions buttons are rendered as part of the tab and can be used to provide additional functionality beyond the built-in close button.
dataSource.attributes
ObjectDefines custom attributes to be applied to the tab element.
dataSource.closable
BooleanSpecifies whether this specific tab can be closed via a close button. When set to true, the tab includes a close icon that triggers tab removal when clicked. This overrides the global closable setting for this specific tab.
Default: false
dataSource.content
StringThe content to be displayed in the tab panel when the tab is selected.
Default: ""
dataSource.enabled
BooleanSpecifies whether the tab is enabled or disabled. Disabled tabs cannot be selected or focused and are displayed with a different visual style.
Default: true
dataSource.encoded
BooleanSpecifies whether the text and content of the tab are HTML-encoded. By default, both are encoded and rendered as plain text. Set to false to render them as HTML.
Security Warning: Setting
encodedtofalserenders thetextandcontentas HTML without encoding. Use it only with trusted content. Rendering unsanitized user input can lead to Cross-Site Scripting (XSS) vulnerabilities.
Default: true
dataSource.icon
String|ObjectТhe name for an existing icon in a Kendo UI theme or SVG content. The icon is rendered inside the tab element.
See web icons help article for more details on Kendo UI icons.
Set this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons.
Default: ""
dataSource.iconClass
StringIf set, this value will be appended to the icon element's class attribute.
Default: ""
dataSource.iconPosition
StringSets the position of the icon relative to the tab text. Possible values are before and after.
Default: "before"
dataSource.text
StringThe display text of the tab. This is the text that will be shown in the tab header.
Default: ""