|
Title: easyui-combotree Post by: rezzonico on March 14, 2014, 07:13:08 AM Hi all,
I have a form. One of the field is a easyui-combotree. Code: <label>Asset:</label> I want to initialize the combotree value. Since the combotree is very large I do not want to output all the nodes but only a subset. To this purpose I think that a possible solution is to pass the variable "Asset" to the program "tree.cgi" and output only the involved nodes. How can I pass the variable "Asset" to the program tree.cgi ? Is this the correct solution ? Thanks. Michelangelo Title: Re: easyui-combotree Post by: rezzonico on March 20, 2014, 01:28:26 AM Hi all,
I think I have found the correct solution. I call the combotree (and pass the variable Asset) after loading the form: Code: $('#fm').form('load',row);In the program "tree.cgi" I use a recursive function in order to output only the involved nodes. All works as expected. |