FlatBindingDirective
Represents a directive that converts the provided flat data to MenuItems and binds them to the Menu.
<kendo-menu [kendoMenuFlatBinding]="flatData" [textField]="'text'" [idField]="'id'" [parentIdField]="'parentId'">
</kendo-menu>
Selector
[kendoMenuFlatBinding]
Export Name
Accessible in templates as #kendoFlatBindingInstance="kendoMenuFlatBinding"
Inputs
Name | Type | Default | Description |
---|---|---|---|
cssClassField |
|
Defines the | |
cssStyleField |
|
Defines the | |
kendoMenuFlatBinding |
|
Specifies the array of data which will be used to populate the Menu. | |
disabledField |
|
Defines the | |
iconField |
|
Defines the | |
idField |
|
Defines the | |
parentIdField |
|
Defines the parent | |
separatorField |
|
Defines the | |
svgIconField |
|
Defines the | |
textField |
|
Defines the | |
urlField |
|
Defines the |
Methods
rebind |
---|
Rebinds the Menu items. |