FlatBindingDirective
Represents a directive that converts the provided flat data to MenuItems and binds them to the Menu.
Definition
Package:@progress/kendo-angular-menu
Selector:[kendoMenuFlatBinding]
Export Name:Accessible in templates as #kendoMenuFlatBindingInstance="kendoMenuFlatBinding"
Syntax:
<kendo-menu [kendoMenuFlatBinding]="flatData" [textField]="'text'" [idField]="'id'" [parentIdField]="'parentId'">
</kendo-menu>
Inputs
cssClassField
string
Defines the cssClass field of the items.
cssStyleField
string
Defines the cssStyle field of the items.
disabledField
string
Defines the disabled field of the items.
iconField
string | string[]
Defines the icon field of the items.
idField
string
Defines the id field of the items.
kendoMenuFlatBinding
any[]
Specifies the array of data which will be used to populate the Menu.
parentIdField
string
Defines the parent id field of the items.
separatorField
string
Defines the separator field of the items.
svgIconField
string | string[]
Defines the svgIcon field of the items.
textField
string
Defines the text field of the items.
urlField
string
Defines the url field of the items.
Methods
Rebinds the Menu items.