• Getting Started
  • Components
    • Barcodes
    • Buttons
    • Chartsupdated
    • Conversational UIupdated
    • Data Query
    • Date Inputsupdated
    • Date Math
    • Dialogs
    • Drawing
    • Dropdownsupdated
    • Editor
    • Excel Export
    • File Saver
    • Filter
    • Gantt
    • Gauges
    • Gridupdated
    • Icons
    • Indicators
    • Inputsupdated
    • Labels
    • Layout
    • ListBox
    • ListView
    • Map
    • Menus
    • Navigation
    • Notification
    • Pager
    • PDF Export
    • PDFViewer
    • PivotGridupdated
    • Popup
    • ProgressBars
    • Ripple
    • Schedulerupdated
    • ScrollView
    • Sortable
    • Spreadsheetupdated
    • ToolBar
    • Tooltips
    • TreeList
    • TreeView
    • Typography
    • Uploads
    • Utilities
  • Styling & Themes
  • Common Features
  • Project Setup
  • Knowledge Base
  • Sample Applications
  • FAQ
  • Troubleshooting
  • Updates
  • Changelogs
New to Kendo UI for Angular? Start a free 30-day trial

HierarchyBindingDirective

A directive that converts the provided hierarchical data to MenuItems and binds them to the Menu.

Selector

[kendoMenuHierarchyBinding]

Export Name

Accessible in templates as #kendoHierarchyBindingInstance="kendoMenuHierarchyBinding"

Inputs

NameTypeDefaultDescription

childrenField

string | string[]

Defines the children field (or fields) of the items.

cssClassField

string | string[]

Defines the cssClass field (or fields) of an item.

cssStyleField

string | string[]

Defines the cssStyle field (or fields) of an item.

kendoMenuHierarchyBinding

any[]

The array of data which will be used to populate the Menu.

disabledField

string | string[]

Defines the disabled field (or fields) of an item.

iconField

string | string[]

Defines the icon field (or fields) of an item.

separatorField

string | string[]

Defines the separator field (or fields) of the items.

svgIconField

string | string[]

Defines the svgIcon field of the items.

textField

string | string[]

Defines the text field (or fields) of an item.

urlField

string | string[]

Defines the url field (or fields) of an item.

Methods

rebind

Rebinds the Menu items.

In this article

Not finding the help you need?