jQuery EasyUI Form - Creating a ComboTree
A ComboTree is a ComboBox with a drop-down Tree structure. It can be used as a form field and can be submitted to a remote server.
In this tutorial, we will create a registration form with name, address, and city fields. The city field is a ComboTree field in which the user can drop down the tree panel and select a specific city.
Creating the Form
Account Information
As you can see from the code above, we set a url property for a ComboTree field named 'city'; this field can retrieve Tree data from a remote server. Note that this field has a class named 'easyui-combotree', so we do not need to write any js code - the ComboTree field will be rendered automatically.