DevExpress / DevExpress/devextreme-angular-template
submenus
Nobody has claimed this yet.
- Dominant language
- CSS
- Stars
- 120
- Forks
- 47
- Avg merge
- 50m
- Merged PRs (30d)
- 3
Description
Hi,
I want to create submenus in the left menu.
I changed the navigation like:
export const navigation = [
{
text: 'Home',
path: '/home',
icon: 'home'
},
{
text: 'Facilities',
icon: 'folder',
items: [
{
text: 'Profile',
icon : 'folder',
items :
[
{
text : 'test',
path: '/fire-permit-overview'
}
]
},
{
text: 'Fire Permits',
path: '/fire-permit-overview'
}
]
}
];
but I got the error : ERROR TypeError: Cannot read property 'getNodeByKey' of undefined
Is it possible?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the navigation configuration shown in the issue and reproduce the getNodeByKey error using the nested items structure. Trace the menu handling around that error to determine whether nested submenus are supported. Done means the nested entries render without the error and the shown paths remain usable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100