EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
July 05, 2024, 06:40:36 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
Dynamic menu for tree
Pages: [
1
]
« previous
next »
Print
Author
Topic: Dynamic menu for tree (Read 2516 times)
stollar
Newbie
Posts: 7
Dynamic menu for tree
«
on:
June 14, 2019, 11:23:24 AM »
I need to create a context-menu on a tree but the contents of that tree depend on the type tree-node (folder or document). \
I can build by menu by appending items to an empty menu but I the next time I create a menu it appends to the last one so I need to clear the menu at the start of the process. This is eluding me for now.
Any hints or samples will be helpful.
Logged
jarry
Administrator
Hero Member
Posts: 2269
Re: Dynamic menu for tree
«
Reply #1 on:
June 17, 2019, 07:15:50 AM »
You should destroy the menu and create a new one when a tree node is selected.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...