Configuring jstree right-click contextmenu for different node types
Posted
by
MGOwen
on Stack Overflow
See other posts from Stack Overflow
or by MGOwen
Published on 2010-12-30T02:24:44Z
Indexed on
2011/01/04
23:53 UTC
Read the original article
Hit count: 325
I've seen an example somewhere online showing how to customise the appearance of jstree's right-click context menu (using contextmenu plugin).
For example, allow my users to delete "documents" but not "folders" (by hiding the "delete" option from the context menu for folders).
Now I can't find that example. Can anyone point me in the right direction? The official documentation didn't really help.
© Stack Overflow or respective owner