Recommended reading:
Introduction to the implementation of EasyUI datagrid editor combogrid search box
Combogrid in EasyUi implements pagination and dynamic search of remote data
The example of dynamic loading tree nodes is not given in easyi 1.2.4, so I have to study it myself.
From the source code, we can see that combotree inherits two controls, combo and tree. Therefore, when expanding its lower child nodes, reset the url of the options option of combotree built-in tree to a url that dynamically selects the value. The code is as follows:
$('#cc').combotree({ url:"?act=allregion&parentid=0", onBeforeExpand:function(node){ $('#cc').combotree("tree").tree("options").url= "?act=allregion&parentid=" + ; } });
The above content is the relevant knowledge about the EasyUi combotree realization of dynamic loading tree nodes introduced to you by the editor. I hope it will be helpful to everyone!