Spring mvc integrated easyui menu toptree click top menu question, mvceasyui
After the easyui tree is generated in the background, an error window will pop up when you click the top-level column. The solution is as follows (easyui1.36 is used ):
/Home/cyz/workspace/hb_manager/WebContent/source/easyui_1.36/common
There is an index. js file in the common directory. Use the editor to open the file.
In this way, an error will be reported when you click the parent column.
How to Implement spring mvc Dynamic Tree Structure? When a node is clicked, the specific information of the node can be displayed on the right of the page.
Don't know
Springmvc uses ztree for a dynamic tree menu, preferably demo513020042 @ qqcom.
In fact, you only need to let ftl in your spring mvc directly generate the following string:
[
{Id: '01', name: 'n1 ', isParent: true },
{Id: '02', name: 'n2 ', isParent: false },
{Id: '03', name: 'n3 ', isParent: true },
{Id: '04 ', name: 'n4', isParent: false}
]
With the asynchronous loading Demo, you can !! The string in json format is the same as that in html :)