PanelBarTagHelper

Example

Razor
<kendo-panelbar>
    <animation></animation>
    <hierarchical-datasource></hierarchical-datasource>
    <items></items>
    <li></li>
    <messages />
</kendo-panelbar>

ChildTags

Attributes

AttributeTypeDescription
nameStringSets the name of the component.
bind-toIEnumerable<PanelBarItemBase>Binds a list of items to the PanelBar.
deferredBooleanSuppress initialization script rendering. Note that this options should be used in conjunction with DeferredScripts method.
is-in-client-templateBooleanWhen placing a Tag Helper within a Kendo Template, set the type to text/html and add the is-in-client-template="true" attribute.
as-moduleBoolean
auto-bindBooleanIf set to false the widget will not bind to the data source during initialization. In this case data binding will occur when the change event of the data source is fired. By default the widget will bind to the data source specified in the configuration.
data-icon-class-fieldStringSets the field of the data item that provides the custom class for the icon element of the PanelBar nodes.
data-icon-fieldStringSets the field of the data item that provides the icon name of the PanelBar nodes.
data-image-url-fieldStringSets the field of the data item that provides the image URL of the PanelBar nodes.
data-source-idStringThe Id of the data source.
data-sprite-css-class-fieldStringSets the field of the data item that provides the sprite CSS class of the nodes. If an array, each level uses the field that is at the same index in the array, or the last item in the array.
data-text-fieldStringSets the field of the data item that provides the text content of the nodes. If an array, each level uses the field that is at the same index in the array, or the last item in the array.
data-url-fieldStringSets the field of the data item that provides the link URL of the nodes.
expand-modeStringSpecifies how the PanelBar items are displayed when opened and closed. The following values are available:
has-client-componentBoolean
load-on-demandBooleanIndicates whether the child DataSources should be fetched lazily when parent groups get expanded. Setting this to false causes all child DataSources to be loaded at initialization time.
on-activateStringTriggered when an item of a PanelBar is activated.
on-collapseStringTriggered when an item of a PanelBar is collapsed.
on-content-loadStringFires when content is fetched from an AJAX request.
on-data-boundStringTriggered after the dataSource change event has been processed (adding/removing items);
on-errorStringFires when AJAX request results in an error.
on-expandStringTriggered when an item of a PanelBar is expanded.
on-selectStringTriggered when an item of a PanelBar is selected by the user.
sanitize-idBoolean
script-attributesIDictionary<String,Object>
templateStringTemplate for rendering each node.
template-handlerStringTemplate for rendering each node.
template-idStringTemplate for rendering each node.
template-viewIHtmlContentTemplate for rendering each node.
In this article
ExampleChildTagsAttributes
Not finding the help you need?
Contact Support